For (go lang)

From wikieduonline
Revision as of 08:09, 29 April 2020 by Welcome (talk | contribs)
Jump to navigation Jump to search


package main

import "fmt"

func main() { 
  sum := 0

 for {
    sum++
    fmt.Println(sum)
 }
}

See also

Advertising: