Answered step by step
Verified Expert Solution
Question
1 Approved Answer
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 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
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