Computer Science, asked by sandeepnita01, 5 months ago

M Go programming question.
package main import "fmt" func main() { //var a int = 10 //var b
int = 20 var c int = 0 var d int = 0 var ans int = 0 fmt Scanf("%d",
&c) fmt.Scanf("%d", &d) //var an int = a +b //fmt.Println(an) ans =
addfunc(c,d) fmt. Println(ans) } func addfunc(num1,num2 int) int{
sum:= 0 sum = num1 +num2 return sum }​

Answers

Answered by Anonymous
0

Answer:

I don't have to do it is not a b and follow the instructions for how it

Similar questions