Answer Posted / raj
int a[10],max=0;
cout<<"enter 10 numbers";
for(int i=0;i<10;i++)
{
cin>>a[i];
if(a[i]>max)
max=a[i];
}
cout<<"the maximum of entered 10 is"<<max;
| Is This Answer Correct ? | 9 Yes | 6 No |
Post New Answer View All Answers
How do I exit turbo c++?
What is the v-ptr?
How much do coding jobs pay?
Where can I run c++ program?
Why is c++ is better than c?
What are the advantages of using pointers in a program?
Explain bubble sorting.
What language is a dll written in?
How the programmer of a class should decide whether to declare member function or a friend function?
What happens when the extern "c" char func (char*,waste) executes?
What is an operator function? Describe the function of an operator function?
Explain one-definition rule (odr).
What is a constructor and how is it called?
Define anonymous class.
What is the best c++ book?