Initial data commit
This commit is contained in:
parent
72d218235f
commit
f23f22d71c
199087 changed files with 3378941 additions and 0 deletions
9
Task/Filter/Pascal/filter.pas
Normal file
9
Task/Filter/Pascal/filter.pas
Normal file
|
|
@ -0,0 +1,9 @@
|
|||
const
|
||||
|
||||
numbers:array[0..9] of integer = (0,1,2,3,4,5,6,7,8,9);
|
||||
|
||||
for x = 1 to 10 do
|
||||
if odd(numbers[x]) then
|
||||
writeln( 'The number ',numbers[x],' is odd.');
|
||||
else
|
||||
writeln( 'The number ',numbers[x],' is even.');
|
||||
Loading…
Add table
Add a link
Reference in a new issue