computer-science-134

Is the loop infinite in the context of the algorithm? Answer Yes/No. If yes, modify the algorithm to stop. If no, what is the number of time the loop iterates? start Declartions num price = 10 num totalPrice = 0 num inventoryLeft = 10 while inventoryLeft < 0 sell item totalPrice = totalPrice + price endwhile output “Total price” output totalPrice stop

Extras ordered: none