Question: Question 8: Looping Draw a diagram for a program that: 1. Create a variable called balance, set it to 100 2. While balance is greater

 Question 8: Looping Draw a diagram for a program that: 1.

Question 8: Looping Draw a diagram for a program that: 1. Create a variable called balance, set it to 100 2. While balance is greater than 0... 1. Ask the user, "how much to withdraw?" 2. Store user's answer in a variable called withdraw 3. Subtract withraw amount from the balance 3. Once balance is 0 or lower... 4. Display message, "out of money

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!