Data commit
This commit is contained in:
parent
7387c8f97b
commit
cb5bb5e222
199093 changed files with 3378972 additions and 0 deletions
11
Task/Integer-comparison/Octave/integer-comparison.octave
Normal file
11
Task/Integer-comparison/Octave/integer-comparison.octave
Normal file
|
|
@ -0,0 +1,11 @@
|
|||
printf("Enter a: ");
|
||||
a = scanf("%d", "C");
|
||||
printf("Enter b: ");
|
||||
b = scanf("%d", "C");
|
||||
if (a > b)
|
||||
disp("a greater than b");
|
||||
elseif (a == b)
|
||||
disp("a equal to b");
|
||||
elseif (a < b)
|
||||
disp("a less than b");
|
||||
endif
|
||||
Loading…
Add table
Add a link
Reference in a new issue