For (go lang)

From wikieduonline
Revision as of 08:12, 29 August 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: