Answer Posted / amrutha
int a[]=new int[10];
int max=a[0];
for(int i=0; i<10; i++)
{
if(a[i]>max)
{
max=a[i];
}
}
System.out.println("Maximum of 10 :" + max);
Is This Answer Correct ? | 21 Yes | 8 No |
Post New Answer View All Answers
Can comments be longer than one line?
Is set c++?
Why cstdlib is used in c++?
What is the use of volatile variable?
What is command line arguments in C++? What are its uses? Where we have to use this?
How long it will take to learn c++?
What is std :: flush?
Define vptr.
write a function signature with various number of parameters.
What is the latest c++ standard?
What happens if a pointer is deleted twice?
Explain what is polymorphism in c++?
Define whitespace in C++.
What is the difference between #import and #include?
What is #include c++?