nouveau fichier de comparaisons

This commit is contained in:
amaury 2023-03-06 11:37:16 +01:00
parent cef082bfd5
commit abff8966b5

View File

@ -0,0 +1,17 @@
int main() {
int x = 0;
int y = 1;
while (x <= y) {
if (x > y) {
y += 1;
}
if (x == y) {
x += y;
}
if (x < y) {
x += 1;
} else {
return 0;
}
}
}