Projet-Systemes-Informatiques/testFile
Raphaël LACROIX 9439274586 fixed last bugs
2023-04-13 11:11:16 +02:00

20 lines
246 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(int a) {
int a;
if (a == 3) {
print(a);
} else {
int b = compute(a, 2 * a);
print(b);
}
}