C++ Please type int correct statements in the space provided that can be used in place of the "blank" in following main() function, so the program will display the largest number that a user entered. int main() { Int a, b, c, d, e, f, g, largest; cout<<”Please enter seven integers: “<>a>>b>>c>>d>>e>>f>>g; "Blank" cout<<”The largest is “<
C++
Please type int correct statements in the space provided that can be used in place of the "blank" in following main() function, so the
int main()
{
Int a, b, c, d, e, f, g, largest;
cout<<”Please enter seven integers: “<<endl;
cin>>a>>b>>c>>d>>e>>f>>g;
"Blank"
cout<<”The largest is “<<largest<<endl;
return 0;
}
Given:
Please type int correct statements in the space provided that can be used in place of the "blank" in following main() function, so the program will display the largest number that a user entered.
int main()
{
Int a, b, c, d, e, f, g, largest;
cout<<”Please enter seven integers: “<<endl;
cin>>a>>b>>c>>d>>e>>f>>g;
"Blank"
cout<<”The largest is “<<largest<<endl;
return 0;
}
Trending now
This is a popular solution!
Step by step
Solved in 3 steps with 1 images