Question: Question 14 4 pts (004) num widos while True choice = input. Would you like to buy a widget? (yn:) I choice lower num widgets

 Question 14 4 pts (004) num widos while True choice =

Question 14 4 pts (004) num widos while True choice = input. Would you like to buy a widget? (yn:") I choice lower num widgets 1 brok print/ bought, num_widget"widgets.") Based on the above code example, which of the following could be a proudocode plan for the program? Define widget count valable IF user buys widgets add 1 to widget count ELSE and loop Display results B O Define widget count variable Begin infinite loop Get user input IF user buys widget Add 1 to widget count ELSE end loop Display results Get user input Loop WHILE user wants to continue IF user buys widget Add 1 to widget count Get user input Display routs o Get user input Loop while input IF user buys widget add 1 to widget count ELSE end loop Display results

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!