My question is how do I code it to make sure the customer an
My question is how do I code it to make sure the customer answers both questions
Test 1 Prep
Antique Toy Vehicles
Click on Picture to Make Purchase
This Runs As I would like it to with the exception of putting in if else statments needed for the myVar what is your name and myVar1 how many in the case they don\'t answer the question. Have to get code correct then I can dress it up .... I have so muh going on my brain is mush
Solution
First here prompt for the user input of his/her name and then ask the two questions one by one after answering the first question
Here we can implement the above requirement by using the do while loop and this loop will run untill the user answer for both the questions. Then the variables myVar and myVar1 will read the answers for both questions and then the exit from the loop
The above given implementation will make sure that the user answer for the both given questions...
