Question: initialize the count variable to 0 initialize the sum variable to 0 input full _ name input the min _ price and convert it to
initialize the count variable to
initialize the sum variable to
input fullname
input the minprice and convert it to float
create a list of prices example: pricelist
for price in pricelist
add current price to sum
if price minprice
increment count by
output "Hello",name,"the minimum price is minprice
output "There are count,"prices greater than the minimum price"
output "The total price is sum
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
