Question: Question 4 1 pts Is the loop in the algorithm infinite? q , start Declartions num price = 1 0 num totalPrice = 0 num
Question
pts
Is the loop in the algorithm infinite?
start
Declartions
num price
num totalPrice
num inventoryLeft
while inventoryLeft
totalPrice totalPrice price
inventoryLeft inventoryLeft
endwhile
output "Total price" totalPrice
stop
True
False
Activate Windows
Go to Settings to activate
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
