Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

write the program for maximum of the following numbers?
122,198,290,71,143,325,98

Answer Posted / sameer.chaudhari

main()
{
int i,a[7]={122,198,290,71,143,325,98} , max = a[0] ;

for(i = 0 ; i < 7 ; ++i)
if(max < a[i])
max = a[i] ;

printf("%d",max);
}

Is This Answer Correct ?    3 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Describe dynamic data structure in c programming language?

1043


What are examples of structures?

1029


What is difference between Structure and Unions?

1189


Do string constants represent numerical values?

1326


What are the three constants used in c?

933


Is javascript written in c?

1017


What are valid signatures for the Main function?

1173


Can we use visual studio for c?

1013


What is time complexity c?

946


a=10;b= 5;c=3;d=3; if(a printf(%d %d %d %d a,b,c,d) else printf("%d %d %d %d a,b,c,d);

1071


A SIMPLE PROGRAM OF GRAPHICS AND THEIR OUTPUT I WANT SEE WAHAT OUTOUT OF GRAPHICS PROGRAM

2080


Which are low level languages?

1047


How to Throw some light on the splay trees?

1004


Where does the name "C" come from, anyway?

1082


How can I implement sets or arrays of bits?

990