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 0
initialize the sum variable to 0
input full_name
input the min_price and convert it to float
create a list of prices example: price_list =[69.0,71.0,84.5,91.0,67.4,81.2,84.6,58.8,79.3,101.2]
for price in price_list
add current price to sum
if price > min_price
increment count by 1
output "Hello",name,"the minimum price is ",min_price
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 blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!