Answer:
- #include <iostream>
- using namespace std;
- int main()
- {
- int highest = 0;
- int score;
- do{
- cout<<"Input a score: ";
- cin>>score;
-
- if(score > highest){
- highest = score;
- }
- }while(score >= 0);
-
- cout<<highest;
- return 0;
- }
Explanation:
Firstly, create a variable highest and initialize it with zero (Line 5). Next, create a do while loop (Line 7 - 14). Within the loop prompt user to input a score (Line 8-9) and if the current score is higher than the highest variable, assign the score to highest variable (Line 11 - 13).
After finishing the loop when user put in any negative value, the program shall be able to print out the highest input score (Line 16).
Answer:
The Rocker-Bogie System is the suspension arrangement developed in 1988 for use in NASA's Mars Rover Sojourner and which has become NASA's favored design for rovers.
Hope that this helps!
One quarter note plus one eighth note equals one and a half beats. So a dotted quarter note lasts for one and a half beats.
It is a japanese video game publisher known for publishing space invaders