Untitled
unknown
plain_text
2 years ago
390 B
11
Indexable
#include <stdio.h>
#include <stdlib.h>
int main()
{
int a, b;
printf("pls enter first number:");
scanf("%d", &a);
printf("pls enter second number:");
scanf("%d", &b);
if (a>b) {
printf("%d is greater than %d", a, b);
} else if (a<b){
printf("%d is lesser than %d", a, b);
} else{
printf("both number are equal");
}
return 0;Editor is loading...