You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
#Write a function perishable that has one parameter
#number of items in the store
#The function reads the bar code (integer)
#for each item and its price(float)
#All perishable items in the store have EVEN bar codes
#The function finds and returns the number of
#Perishable items that cost under 2 dollars
#Write main that reads the number of items in the store
#calls function perishable to find number of perishable
#items that cost under 2 dollars
#if there are no such items program prints error message
#Can randomly generate data
#Bonus functions also finds the average price for all
#perishable items and average for all non perishable
to help myself.
The text was updated successfully, but these errors were encountered: