Question: You were then asked how you might write a while - loop around each of the input statements to ensure that the program repeatedly asks
You were then asked how you might write a whileloop around each of the input statements to ensure that the program repeatedly asks the user for input if the value entered is less than or equal to zero, and only proceeds once a value greater than zero is entered. You should copy and paste into your TMA document the additional lines of code needed to achieve this and your explanation of what they doNB Be sure to paste your lines of code as text, not as an image or picture of the lines of code. This is so that your tutor can copy and paste your code into a trinket and run it for themselves.
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
