Data commit
This commit is contained in:
parent
7387c8f97b
commit
cb5bb5e222
199093 changed files with 3378972 additions and 0 deletions
13
Task/FizzBuzz/C-Shell/fizzbuzz.csh
Normal file
13
Task/FizzBuzz/C-Shell/fizzbuzz.csh
Normal file
|
|
@ -0,0 +1,13 @@
|
|||
@ n = 1
|
||||
while ( $n <= 100 )
|
||||
if ($n % 15 == 0) then
|
||||
echo FizzBuzz
|
||||
else if ($n % 5 == 0) then
|
||||
echo Buzz
|
||||
else if ($n % 3 == 0) then
|
||||
echo Fizz
|
||||
else
|
||||
echo $n
|
||||
endif
|
||||
@ n += 1
|
||||
end
|
||||
Loading…
Add table
Add a link
Reference in a new issue