Monday, December 26, 2011
8:50 PM

C Program to Find Greatest of Four Number using if-elseif-else Statements

 Program to Find Greatest of Four Number using if-elseif-else Statements






#include
void main() { int a,b,c,d; printf("enter the four numbers : "); scanf("%d%d%d%d",&a,&b,&c,&d);
//if first number is greater than second number if(a>b) {//if first number is greater than third number if(a>c) {//if first number is greater

0 comments:

Post a Comment

:) :)) ;(( :-) =)) ;( ;-( :d :-d @-) :p :o :>) (o) [-( :-? (p) :-s (m) 8-) :-t :-b b-( :-# =p~ $-) (b) (f) x-) (k) (h) (c) cheer
Click to see the code!
To insert emoticon you must added at least one space before the code.