diff --git a/challenge-1/submissions/Tonyblaise/solution-template.go b/challenge-1/submissions/Tonyblaise/solution-template.go new file mode 100644 index 000000000..da419346a --- /dev/null +++ b/challenge-1/submissions/Tonyblaise/solution-template.go @@ -0,0 +1,21 @@ +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) +} + +// Sum returns the sum of a and b. +func Sum(a int, b int) int { + return a + b +} \ No newline at end of file