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
Describe dynamic data structure in c programming language?
What are examples of structures?
What is difference between Structure and Unions?
Do string constants represent numerical values?
What are the three constants used in c?
Is javascript written in c?
What are valid signatures for the Main function?
Can we use visual studio for c?
What is time complexity c?
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);
A SIMPLE PROGRAM OF GRAPHICS AND THEIR OUTPUT I WANT SEE WAHAT OUTOUT OF GRAPHICS PROGRAM
Which are low level languages?
How to Throw some light on the splay trees?
Where does the name "C" come from, anyway?
How can I implement sets or arrays of bits?