Flowchart (ISO 5807)
Source code
C
int maxOf(int a[], int n) {
int m = a[0];
for (int i = 1; i < n; i++) {
if (a[i] > m) m = a[i];
}
return m;
}The editor opens with this code — change it and the chart redraws.
- Language
- C
- Constructs
- largest element
- Topic
- Loops
- Formats
- Word, Visio, draw.io, PDF, SVG