Flowchart (ISO 5807)
Source code
Go
func reverse(n int) int {
r := 0
for n > 0 {
r = r*10 + n%10
n /= 10
}
return r
}The editor opens with this code — change it and the chart redraws.
- Language
- Go
- Constructs
- for (while form)
- Topic
- Loops
- Formats
- Word, Visio, draw.io, PDF, SVG