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