Question: For the following code below. When the user is prompted to ask for the 'size' I only want a numerical value to be accepted (example

For the following code below. When the user is prompted to ask for the 'size' I only want a numerical value to be accepted (example if the user enters "X" a pop-up will be shown saying invalid option, chose a number. '4' gets entered and the program continues down) I assume an If statement is needed but not entirely sure how to input that..

Test page

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!