This repository has been archived on 2022-12-27. You can view files and clone it, but cannot push or open issues or pull requests.
compilateurMIPS/tests/26_while.test
2022-12-13 17:10:19 +01:00

14 lines
169 B
Text

void affiche(int i) {
puti(i);
puts("\n");
}
void main () {
int a = 0;
while (a < 10) {
affiche(a);
a = a + 1;
}
affiche(a);
}