for (go lang)

From wikieduonline
Revision as of 19:05, 27 October 2021 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: