The website may crash if it was not built to sustain a large number of viewers.
<span>The answer to your question is D. both A and C</span>
Answer:
see attachment
Explanation:
You have not specified the language, or the details of the I/O form or prompts. Here is a program that does that, written in Wolfram language (the language of Mathematica).
It prompts separately for student name and student score. The minimum score is presumed to be higher than -99999. If only one student name is entered, the second output is that score with no name listed. There is no error checking.
We have elected to keep a list only of the two two scores, and to sort that list again each time a new entry is made.
__
The attachment shows the output of the program below the program listing.
Answer:
The answer to the given question is "i=1".
Explanation:
In the given c++ code the we use the for loop. We use this loop when we know exactly how many times it will execute. This loop is also known as entry control loop.
Syntax :
for(initialization; condition ; increment/decrements)
{
C++ statement(s);
}
Example:
for (int i = 1; i < 20; i++)
{
cout<< "Hello";
}
That's why initial statement for the for loop is "i=1".