Data commit
This commit is contained in:
parent
7387c8f97b
commit
cb5bb5e222
199093 changed files with 3378972 additions and 0 deletions
18
Task/Integer-comparison/C/integer-comparison.c
Normal file
18
Task/Integer-comparison/C/integer-comparison.c
Normal file
|
|
@ -0,0 +1,18 @@
|
|||
#include <stdio.h>
|
||||
|
||||
int main()
|
||||
{
|
||||
int a, b;
|
||||
scanf("%d %d", &a, &b);
|
||||
|
||||
if (a < b)
|
||||
printf("%d is less than %d\n", a, b);
|
||||
|
||||
if (a == b)
|
||||
printf("%d is equal to %d\n", a, b);
|
||||
|
||||
if (a > b)
|
||||
printf("%d is greater than %d\n", a, b);
|
||||
|
||||
return 0;
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue