Data commit
This commit is contained in:
parent
7387c8f97b
commit
cb5bb5e222
199093 changed files with 3378972 additions and 0 deletions
9
Task/FizzBuzz/XPL0/fizzbuzz.xpl0
Normal file
9
Task/FizzBuzz/XPL0/fizzbuzz.xpl0
Normal file
|
|
@ -0,0 +1,9 @@
|
|||
code CrLf=9, IntOut=11, Text=12;
|
||||
int N;
|
||||
[for N:= 1 to 100 do
|
||||
[if rem(N/3)=0 then Text(0,"Fizz");
|
||||
if rem(N/5)=0 then Text(0,"Buzz")
|
||||
else if rem(N/3)#0 then IntOut(0,N);
|
||||
CrLf(0);
|
||||
];
|
||||
]
|
||||
Loading…
Add table
Add a link
Reference in a new issue