Data commit
This commit is contained in:
parent
7387c8f97b
commit
cb5bb5e222
199093 changed files with 3378972 additions and 0 deletions
16
Task/Integer-comparison/Maple/integer-comparison.maple
Normal file
16
Task/Integer-comparison/Maple/integer-comparison.maple
Normal file
|
|
@ -0,0 +1,16 @@
|
|||
CompareNumbers := proc( )
|
||||
local a, b;
|
||||
printf( "Enter a number:> " );
|
||||
a := parse(readline());
|
||||
printf( "Enter another number:> " );
|
||||
b := parse(readline());
|
||||
if a < b then
|
||||
printf("The first number is less than the second");
|
||||
elif a = b then
|
||||
printf("The first number is equal to the second");
|
||||
elif a > b then
|
||||
printf("The first number is greater than the second");
|
||||
end if;
|
||||
end proc:
|
||||
|
||||
CompareNumbers();
|
||||
Loading…
Add table
Add a link
Reference in a new issue