projet-traduction-langage/fichiersRat/src-rat-tam-test/complique.rat

11 lines
140 B
Plaintext
Raw Normal View History

2021-11-24 13:13:45 +00:00
prog {
const a = 5;
rat x = [6/a];
int y = (a+1);
x = (x + [3/2]);
while (y < 10) {
print ([a/y] * x);
y = (y + 1);
}
}