Answered step by step
Verified Expert Solution
Question
1 Approved Answer
3. Write a program that reads in the number of fish caught by each contestant in a fishing contest. The program should keep asking for
3. Write a program that reads in the number of fish caught by each contestant in a fishing contest. The program should keep asking for the next entry, reading in the next entry, and storing the next entry until a negative number is entered. Then the program should find the first place winner of the fishing contest. The winner is determined by who caught the most fish. The program should output the winner, and how many fish that person caught
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