You are on page 1of 1

#include<stdio.h> #include<conio.

h>

void main() { int a,b; printf("Enter the value of a "); scanf("%d",&a); printf("Enter the value of b"); scanf("%d",&b);

if(a>b) printf("A is greater");

else printf("B is greater");

getch(); }

You might also like