Question
The Ion Reality Sales Corporation would like to have an application showing how each monthly sales contributes to their overall total sales. Write a program
The Ion Reality Sales Corporation would like to have an application showing how each monthly sales contributes to their overall total sales. Write a program that accepts as input any number of monthly sales amounts. After all values have been entered, display a report showing each of the monthly sales amounts and the percentage contribution of the individual monthly sales figure to the overall total sales. Your report should show each original value entered and the percentage that value contributes to the total. You may prompt the user for the number of values to be inputted. Be sure your design is aesthetically pleasing with the percentage rounded to one position and all values number aligned.
4.Grading criteria (Total: 50 points)
1)Let the user to enter monthly sales amount, and store the inputs into an array. (15 points)
2)Calculate the total sales amount. (15 points)
3)Calculate the percentage contribution for each month. (15 points)
4)Display the results. (5 points)
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