Question: Is the loop infinite in the context of the algorithm? start Declartions num price = 1 0 num totalPrice = 0 num inventoryLeft = 1
Is the loop infinite in the context of the algorithm?
start
Declartions
num price
num totalPrice
num inventoryLeft
while inventoryLeft
totalPrice totalPrice price
endwhile
output "Total price"
output totalPrice
stop
Group of answer choices
True
False
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
