projet-traduction-langage/fichiersRat/examen-20-21/ex1.rat

13 lines
125 B
Plaintext
Raw Normal View History

2021-11-24 13:13:45 +00:00
int f (int a){
if (a=3){
rat a = [3/2];
print a;
}else{
print a;
}
return 0;
}
main {
print (call f (1));
}