Hello everyone,
I'm having trouble accomplishing this task:
A program that analyzes a set of numbers can be very useful. Create an Analysis application that prompts the user for numbers in the range 1 through 50, terminated by a sentinel, and then performs the following analysis on the numbers:
• Determine the average number
• Determine the maximum number
• Determine the range (maximum-minimum)
• Determine the mode (the number that occurs the most often)
• Displays a bar graph called a histogram that shows the numbers in each five-unit range (1–5, 6–10, 11-15, etc.).
My code so far is absolute garbage and I feel very lost. Can someone help me with this problem? I'm of course not asking you to solve this for me unless you want to :} but Please lead me in the right way. I have many tangled wires inside my head. Any help is very appreciated.