Question: Produce a program to do the following tasks: Print menu of options to screen ( see example below ) . If the user type the
Produce a program to do the following tasks:
Print menu of options to screen see example below If the user type the wrong option, you need to ask the user to enter again.
Prompt user to respond with an integer and ask for inputs.
There are five options for users to choose and each option will have a corresponding functionality different output
if enter option showing students between two levels:
Enter the two numbers in one command line, assuming order must be min and then max
Check those students whose grades is larger than and equal to min value and also smaller than max value
Print each student's name and grades see below
Name: alex Grades:
Name: mary Grades:
Name: bob Grades:
Name: tanya Grades:
Name: clock Grades:
Name: jessie Grades:
Name: goodwill Grades:
Name: carrie Grades:
if is entered, showing a statistical graph
You need to count number of students whose grades in categories, then print a bar chart like graph by using to represent the number of student in that category.
The chart below tells you that four student's grades are in three in and etc.
:
:
:
:
below :
if is entered, you can add a new student into the given dictionary
Prompt to ask for student name and grades
Update add student name and grades into the given dictionary.
This will impact the results of your option
if is entered, calculate the class average and show the results
Exit if is entered:
Grading:
Total Points: pts
Comment pt
Please put your comments on your codes.
Execution pts
Code runs without any errors or warnings ptsMenuEach use caseCode meets all criteria listed above. Make sure you must pass all the test cases in the example. pts
Style pts
Program follow style guidelines
Example Outputs:
Welcome to student grade system!
Enter : showing students between two levels
Enter : showing graph about statistics
Enter : adding a new student
Enter : showing class average
Enter : exiting the program
Please enter two levels in one command min and max
Results:
Name: alex Grades:
Name: mary Grades:
Name: bob Grades:
Name: tanya Grades:
Name: clock Grades:
Name: jessie Grades:
Name: goodwill Grades:
Name: carrie Grades:
Welcome to student grade system!
Enter : showing students between two levels
Enter : showing graph about statistics
Enter : adding a new student
Enter : showing class average
Enter : exiting the program
Graph: presents a student
:
:
:
:
below :
Welcome to student grade system!
Enter : showing students between two levels
Enter : showing graph about statistics
Enter : adding a new student
Enter : showing class average
Enter : exiting the program
Please enter student name and grade
ken
Welcome to student grade system!
Enter : showing students between two levels
Enter : showing graph about statistics
Enter : adding a new student
Enter : showing class average
Enter : exiting the program
Graph: presents a student
:
:
:
:
below :
Welcome to student grade system!
Enter : showing students between two levels
Enter : showing graph about statistics
Enter : adding a new student
Enter : showing class average
Enter : exiting the program
The class average is
Welcome to student grade system!
Enter : showing students between two levels
Enter : showing graph about statistics
Enter : adding a new student
Enter : showing class average
Enter : exiting the program
Program End
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
