#includeusing namespace std; int main (){ int a[100]; int i, n ,large ;cout<<"enter the elements " <>a[i]; }large =a[O];for (i=O ; i<=99 ; i++)if (larg < ali])larg = ali] ;cout<<" largest value in %3D the array = "<< larg ;return 0;} * true O False

C++ Programming: From Problem Analysis to Program Design
8th Edition
ISBN:9781337102087
Author:D. S. Malik
Publisher:D. S. Malik
Chapter12: Points, Classes, Virtual Functions And Abstract Classes
Section: Chapter Questions
Problem 3PE
icon
Related questions
Question
I need the answer quickly
#include<iostream>using namespace
std; int main (){ int a[100]; int i, n ,large
;cout<<"enter the elements "
<<endl;for(i=0; i<=99; i++){ cin>>ali) ;
}Harge =a[0];for (i=O; i<=99; i++)if (larg
< a[i])larg = ali] ;cout<<" largest value in
%3D
the array = "<< larg ;return 0;} *
true
False
Transcribed Image Text:#include<iostream>using namespace std; int main (){ int a[100]; int i, n ,large ;cout<<"enter the elements " <<endl;for(i=0; i<=99; i++){ cin>>ali) ; }Harge =a[0];for (i=O; i<=99; i++)if (larg < a[i])larg = ali] ;cout<<" largest value in %3D the array = "<< larg ;return 0;} * true False
Expert Solution
steps

Step by step

Solved in 2 steps

Blurred answer
Knowledge Booster
Array
Learn more about
Need a deep-dive on the concept behind this application? Look no further. Learn more about this topic, computer-science and related others by exploring similar questions and additional content below.
Similar questions
  • SEE MORE QUESTIONS
Recommended textbooks for you
C++ Programming: From Problem Analysis to Program…
C++ Programming: From Problem Analysis to Program…
Computer Science
ISBN:
9781337102087
Author:
D. S. Malik
Publisher:
Cengage Learning