Data commit
This commit is contained in:
parent
7387c8f97b
commit
cb5bb5e222
199093 changed files with 3378972 additions and 0 deletions
14
Task/Integer-comparison/ALGOL-W/integer-comparison.alg
Normal file
14
Task/Integer-comparison/ALGOL-W/integer-comparison.alg
Normal file
|
|
@ -0,0 +1,14 @@
|
|||
begin
|
||||
|
||||
integer a, b;
|
||||
|
||||
write( "first number: " );
|
||||
read( a );
|
||||
write( "second number: " );
|
||||
read( b );
|
||||
|
||||
if a < b then write( a, " is less than ", b );
|
||||
if a = b then write( a, " is equal to ", b );
|
||||
if a > b then write( a, " is greater than ", b );
|
||||
|
||||
end.
|
||||
Loading…
Add table
Add a link
Reference in a new issue