Data update
This commit is contained in:
parent
29a5eea0d4
commit
5c1bb7bfa9
2011 changed files with 35081 additions and 3229 deletions
14
Task/General-FizzBuzz/PascalABC.NET/general-fizzbuzz.pas
Normal file
14
Task/General-FizzBuzz/PascalABC.NET/general-fizzbuzz.pas
Normal file
|
|
@ -0,0 +1,14 @@
|
|||
##
|
||||
for var i:=1 to 20 do
|
||||
begin
|
||||
var s := '';
|
||||
if i mod 3 = 0 then
|
||||
s += 'Fizz';
|
||||
if i mod 5 = 0 then
|
||||
s += 'Buzz';
|
||||
if i mod 7 = 0 then
|
||||
s += 'Baxx';
|
||||
if s = '' then
|
||||
Println(i)
|
||||
else Println(s);
|
||||
end
|
||||
Loading…
Add table
Add a link
Reference in a new issue