Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

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

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Database Principles Programming And Performance

Authors: Patrick O'Neil, Elizabeth O'Neil

2nd Edition

1558605800, 978-1558605800

Students also viewed these Databases questions

Question

What is the basis for Security Concerns in Cloud Computing?

Answered: 1 week ago

Question

Describe the three main Cloud Computing Environments.

Answered: 1 week ago