Question: How many times will the loop execute? start Declartions num price = 10 num totalPrice = 0 num inventoryLeft 0 output selling item totalPrice=
How many times will the loop execute? start Declartions num price = 10 num totalPrice = 0 num inventoryLeft 0 output "selling item" totalPrice= totalPrice + price inventoryLeft inventoryLeft - 1 B endwhile output "Total price"+ totalPrice stop
Step by Step Solution
There are 3 Steps involved in it
Based on the pseudocode provided in the image the loop is a whil... View full answer
Get step-by-step solutions from verified subject matter experts
