Showing posts with label wap to find out bigger number (if-else). Show all posts
Showing posts with label wap to find out bigger number (if-else). Show all posts

BIGGER NUMBER 1

wap to find out bigger number (if-else)

void main ()

{

int a,b;

clrscr ();

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 ();

}

Labels