Data update
This commit is contained in:
parent
4bb20c9b71
commit
cbaf4c4b64
12390 changed files with 318560 additions and 27248 deletions
13
Task/Integer-comparison/ALGOL-60/integer-comparison.alg
Normal file
13
Task/Integer-comparison/ALGOL-60/integer-comparison.alg
Normal file
|
|
@ -0,0 +1,13 @@
|
|||
begin
|
||||
|
||||
integer a, b;
|
||||
outstring(1,"First number : ");
|
||||
ininteger(0, a);
|
||||
outstring(1,"Second number: ");
|
||||
ininteger(0,b);
|
||||
|
||||
if a = b then outstring(1,"The two numbers are equal");
|
||||
if a < b then outstring(1,"The first number is less than the second");
|
||||
if a > b then outstring(1,"The first number is greater than the second");
|
||||
|
||||
end
|
||||
Loading…
Add table
Add a link
Reference in a new issue