1. Prompt the user fordesired altitude and a number of time steps. 2. Cause the
ID: 3616425 • Letter: 1
Question
1. Prompt the user fordesired altitude and a number of time steps.
2. Cause the balloon toascend to one-third of the specified altitude, then cruise forone-quarter of the timesteps.
3. Repeat step 2 twicemore (ascend one-third, cruise one-quarter, ascend one-third,cruise one-quarter).
4. Descend halfway to theground, cruise for the remaining time steps, and thendescend back to the ground.
5. After the first ballonflight, the program should ask the user if he/she would liketo continue.
Explanation / Answer
please rate - thanks this anything like what you want? what are the wind shearsetc?? you said no formulas, where do they come from? #include using namespace std; int main() {int max, height,time,minutes,thirdmax,quartertime,half,i,j; string yes; coutRelated Questions
Navigate
Integrity-first tutoring: explanations and feedback only — we do not complete graded work. Learn more.