Projet-Systemes-Informatiques/testFile
Raphaël LACROIX 1a8e9766a0 commit
2023-04-13 10:03:02 +02:00

20 lines
245 B
Text

int compute(int a, int d) {
int b;
int c;
b = a;
while (c > 0) {
b = b + a * 4;
}
return b;
}
void main(void) {
int a;
if (a == 3) {
print(a);
} else {
int b = compute(a, 2 * a);
print(b);
}
}