Question
A. Write pseudocode to provide a solution to the following problem: Mr. Harry owns a small poultry shop. He previously stored his accounting records in
A. Write pseudocode to provide a solution to the following problem:
Mr. Harry owns a small poultry shop. He previously stored his accounting records in a ledger. However, these got destroyed in a recent fire. Mr. Harry now digitizes his daily records and wishes for a software that will allow him to calculate and display his total and average sales for the day. If his average sale exceeds $5000, the program displays the message, " The sales today were great!"
NB: Your pseudocode must not exceed 40 lines as this is the limit of the text area
B. Mr. Harry owns a small poultry shop. He previously stored his accounting records in a ledger. However, these got destroyed in a recent fire. Mr. Harry now digitizes his daily records and wishes for a software that will allow him to calculate and display his total and average sales for the day. If his average sale exceeds $5000, the program displays the message, " The sales today were great!" (a) Write a python program that provides a solution to the problem above. (You are not required to create a python file.) The lines of code can be typed in the text area below. NB: The text area only allows for 40 lines. Your code must not exceed this limit.
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started