Difference between revisions of "Loop"
Jump to navigation
Jump to search
Line 11: | Line 11: | ||
fmt.Println(sum) | fmt.Println(sum) | ||
} | } | ||
+ | </pre> | ||
+ | |||
+ | |||
+ | [[Bash]] | ||
+ | <pre> | ||
+ | #!/bin/bash | ||
+ | while true; do | ||
+ | ((var++)) | ||
+ | echo $var | ||
+ | done | ||
</pre> | </pre> |
Revision as of 06:40, 29 April 2020
Advertising: