Question: You need to design a program to record data for a fishing boat. You will need to ask how many crab traps were set (between

 You need to design a program to record data for a

You need to design a program to record data for a fishing boat. You will need to ask how many crab traps were set (between 1 and 10 inclusive). Then using a loop get the trap number (each trap has a unique number) and the number of crabs caught in the pot. Find the average number caught in each pot. Then use another loop to count how many pots caught above average. Display the number of any pot catching above average. Use methods and input validation as needed

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