2016 Update
This commit is contained in:
parent
948b86eafa
commit
dcf5d15da3
7965 changed files with 139854 additions and 31002 deletions
15
Task/FizzBuzz/Simula/fizzbuzz.simula
Normal file
15
Task/FizzBuzz/Simula/fizzbuzz.simula
Normal file
|
|
@ -0,0 +1,15 @@
|
|||
begin
|
||||
integer i;
|
||||
for i := 1 step 1 until 100 do
|
||||
begin
|
||||
if mod( i, 15 ) = 0 then
|
||||
outtext( "FizzBuzz" )
|
||||
else if mod( i, 3 ) = 0 then
|
||||
outtext( "Fizz" )
|
||||
else if mod( i, 5 ) = 0 then
|
||||
outtext( "Buzz" )
|
||||
else
|
||||
outint( i, 3 );
|
||||
outimage
|
||||
end;
|
||||
end
|
||||
Loading…
Add table
Add a link
Reference in a new issue