vasco-da-gama
C IS AS DEEP AS SEA
Tuesday, 27 September 2011
greater than and smaller than
#include<stdio.h>
#include<conio.h>
void main()
{
clrscr();
int a,b;
printf("enter the value of a and b");
scanf("%d%d",&a,&b);
if(a>b)
{
printf("a is greater");
}
else
printf("b is greater");
getch();
}
No comments:
Post a Comment
Newer Post
Older Post
Home
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment