Programming In C
Improve your Programming Skills with almost every C Program.
Home
Blog Posts
Life Style
Relationship
Make Money
Follow Us
Facebook
Twitter
About Us
Who We Are?
Contact Us
Tuesday, September 8, 2009
GREATEST AMONG 3 NUMBERS USING BINARY MINUS IN C
void main(){int a,b,c;clrscr();printf("\nEnter 3 numbers: ");scanf("%d %d %d",&a,&b,&c);if(a-b>0 && a-c>0)printf("\nGreatest is a :%d",a);elseif(b-c>0)printf("\nGreatest is b :%d",b);elseprintf("\nGreatest is c :%d",c);getch();}
No comments:
Post a Comment
Newer Post
Older Post
Home
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment