Question: CSCI 1 1 0 Week 4 Assignment Points: 1 0 0 points Notes: Use same documentation and design rules as stated in previous assignments. This

CSCI 110 Week 4 Assignment
Points: 100 points
Notes:
Use same documentation and design rules as stated in previous assignments.
This program uses a loop to compute basic statistics on egg weights. Code can use either a while loop or
a for loop. After data entry, a report is made of basic statistics. See sample output for report design.
Computations and Required Code Structures:
In the data entry loop, compute the number of eggs in each of the five weight categories, the sum of egg
weights, the heaviest egg weight, and the lightest egg weight. It is not permitted to use advanced data
structures such as lists that we have not covered.
After the loop display the average weight, heaviest weight, lightest egg and counts for each category.
Format the average, heaviest and lightest weights to 2 decimals. Display the counts for each category in
a neatly aligned chart with columns using F strings (see sample output).
Sample Output:
Test your program on several data sets.
CSCI 1 1 0 Week 4 Assignment Points: 1 0 0 points

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 Programming Questions!