Data update
This commit is contained in:
parent
4d5544505c
commit
4924dd0264
3073 changed files with 55820 additions and 4408 deletions
14
Task/FizzBuzz/Pascal-P/fizzbuzz.pas
Normal file
14
Task/FizzBuzz/Pascal-P/fizzbuzz.pas
Normal file
|
|
@ -0,0 +1,14 @@
|
|||
program fizzbuzz(output);
|
||||
var
|
||||
i: integer;
|
||||
begin
|
||||
for i := 1 to 100 do
|
||||
if i mod 15 = 0 then
|
||||
writeln('FizzBuzz')
|
||||
else if i mod 3 = 0 then
|
||||
writeln('Fizz')
|
||||
else if i mod 5 = 0 then
|
||||
writeln('Buzz')
|
||||
else
|
||||
writeln(i)
|
||||
end.
|
||||
Loading…
Add table
Add a link
Reference in a new issue