Add Two Numbers
Easy · Numbers
Go is statically typed: a and b are int, and the function returns an int. The usual arithmetic operators work: +, -, *, /, %.
Write Add(a, b) that returns the sum of a and b.
Next: Even or Odd
Easy · Numbers
Go is statically typed: a and b are int, and the function returns an int. The usual arithmetic operators work: +, -, *, /, %.
Write Add(a, b) that returns the sum of a and b.
Next: Even or Odd