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 Week Assignment
Points: 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 decimals. Display the counts for each category in
a neatly aligned chart with columns using strings see sample output
Sample Output:
Test your program on several data sets.
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
