package main
import (p"fmt"
)
func main(){
सोम(1,1,1,21323,2,2,32,1,)
}
func सोम (num ...int){
var total int
for _, r:= range num{
total = total + r
}
p.Println("तुन्हारा जोड़ है ",total)
}
DOESN"T WORK
But THIS DOES
package main
import (p"fmt"
)
func main(){
सम(1,1,1,21323,2,2,32,1,)
}
func सम (num ...int){
var total int
for _, r:= range num{
total = total + r
}
p.Println("तुन्हारा जोड़ है ",total)
}
--
You received this message because you are subscribed to the Google Groups
"golang-nuts" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
For more options, visit https://groups.google.com/d/optout.