Question: You want a program that serves to perform several different tasks. The program must ask the user to enter A, B, C, D, E or

You want a program that serves to perform several different tasks. The program must ask the user to enter A, B, C, D, E or F, depending on the option you want to execute. When the program is executed, the screen presents the options as follows for the user to select one:
| X
MENU
A - Julian Day and Day of the Week
B - Resistance force or drag of a fluid on a sphere C - Numerical rating value for the calculation of GPA
D - Annual sales
E - Print the ASCII table
F - End
Enter the letter of the desired option ----->
Options A, B, C match options A, B, C of your project 2.
For option D, the program must request the sales of a company in the 12 months of the year, and calculate the average sales and the total sold in the year. As a bonus, you can identify the month with the highest sale and the month with the lowest sale. When this option is chosen, the screen looks as follows (in orange is the data entry process, in green is the part that is optional):
| X
You selected option D: Annual sales
Among the sales of each month of the year: Month 1: $ 1000
Month 2: $ 3200.59
...
Month 11: $ 10000.01 Month 12: $ 3000.05
Annual sales:
Average Sales: Month of Less Sales: 11 Month of Less Sales: 1
$ 500000.65 $ xxxx.xx
For option E, the program does not need to request any input data, it simply generates the ASCII table from the character with numeric code 0 to the character with numeric code 255,
separated by tab. For example, a sample of the output on the screen for this option is presented below. Note that for a space issue, the example provided only shows a part of the ASCII table, from the letter 'A' (letter with numerical code 65) to the letter 'D' (letter with numerical code 68), but Your program must generate the entire ASCII table. You selected option E: Print the ASCII table ... 65 A 66 B 67 C 68 D ...
For option F, the program must end

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!