From 50c63fbe01282b6b82d48c4792cf107bea20e2dd Mon Sep 17 00:00:00 2001 From: "go-interview-practice-bot[bot]" <230190823+go-interview-practice-bot[bot]@users.noreply.github.com> Date: Tue, 23 Dec 2025 17:17:18 +0000 Subject: [PATCH] Add solution for Challenge 1 --- .../imankhodadi/solution-template.go | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100644 challenge-1/submissions/imankhodadi/solution-template.go diff --git a/challenge-1/submissions/imankhodadi/solution-template.go b/challenge-1/submissions/imankhodadi/solution-template.go new file mode 100644 index 00000000..7af16864 --- /dev/null +++ b/challenge-1/submissions/imankhodadi/solution-template.go @@ -0,0 +1,18 @@ +package main + +import ( + "fmt" +) +func main() { + var a, b int + _, err := fmt.Scanf("%d, %d", &a, &b) + if err != nil { + fmt.Println("Error reading input:", err) + return + } + result := Sum(a, b) + fmt.Println(result) +} +func Sum(a int, b int) int { + return a + b +} \ No newline at end of file