Instructions: Your homework must have a cover page contains homework number, your name and student id. Submit the code on word file or pdf file. Write your name and student id as comment in the code (see the example). 回HW1 HW1.Program B// Name: Your name 2. // ID : Your university ID Busing System; using System.Collections. Generic; using System. Ling; using System. Text; using System. Threading. Tasks; 8. 10 Bnamespace HW1 11 O references class Program 12 13 O references static void Main(string[] args) 14 Submit screenshot after running the code for each part (The screenshot must have your name and ID, see the example). N CAWINDOWS\system32\cmd.exe Name: Your name ID : Your university ID MENU 1. Show grades 2. Show average 3. Max grade 4. Min grade 5. Modify a grade 6. Search by ID 0. Exit Please enter your choice: Write a menu program in C# that manages students grades for one class. The program lets the user select from a list of options, and if the input is not one of the options, reprint the list. The program should prompt the user to enter a number corresponding with one of the choices, or the number 0 to exit. As long as the user doesn't enter 0, the program should keep showing the same menu to the user. Set of possible choices: 1. Show all grades: Print all students ID, name, and grades.

Computer Networking: A Top-Down Approach (7th Edition)
7th Edition
ISBN:9780133594140
Author:James Kurose, Keith Ross
Publisher:James Kurose, Keith Ross
Chapter1: Computer Networks And The Internet
Section: Chapter Questions
Problem R1RQ: What is the difference between a host and an end system? List several different types of end...
icon
Related questions
Question
2. Show average: calculate the class average.
3. Max grade: Find and print the maximum grade in the class.
4. Min grade: Find and print the minimum grade in the class.
5. Modify a grade: Modify a student grade.
6. Search by ID: Search for a student by his ID and print his information.
7. Exit: Exit the program.
Use arrays and methods in your program.
Sample output:
. C\WINDOWS\system32\cmd.exe
MENU
1. Show grades
2. Show average
3. Max grade
4. Min grade
5. Modify a grade
6. Search by ID
0. Exit
Please enter your choice:
C\WINDOWS\system32\cmd.exe
Please enter your
Show grades
No - ID Name: Grades
1 - 1111
2 - 2222
- 3333
- 4444
ice:
Student1: 80
Student2: 90
Student3: 95
Student4: 70
MENU
1. Show grades
2. Show average
3. Max grade
4. Min grade
5. Modify a grade
6. Search by ID
0. Exit
Please enter your choice:
Transcribed Image Text:2. Show average: calculate the class average. 3. Max grade: Find and print the maximum grade in the class. 4. Min grade: Find and print the minimum grade in the class. 5. Modify a grade: Modify a student grade. 6. Search by ID: Search for a student by his ID and print his information. 7. Exit: Exit the program. Use arrays and methods in your program. Sample output: . C\WINDOWS\system32\cmd.exe MENU 1. Show grades 2. Show average 3. Max grade 4. Min grade 5. Modify a grade 6. Search by ID 0. Exit Please enter your choice: C\WINDOWS\system32\cmd.exe Please enter your Show grades No - ID Name: Grades 1 - 1111 2 - 2222 - 3333 - 4444 ice: Student1: 80 Student2: 90 Student3: 95 Student4: 70 MENU 1. Show grades 2. Show average 3. Max grade 4. Min grade 5. Modify a grade 6. Search by ID 0. Exit Please enter your choice:
HW1
Instructions:
Your homework must have a cover page contains homework number, your name and student
id.
Submit the code on word file or pdf file.
Write your name and student id as comment in the code (see the example).
回HW1
* HW1.Program
B// Name: Your name
// ID : Your university ID
Busing System;
using System.Collections. Generic;
using System. Linq;
using System. Text;
using System.Threading. Tasks;
6.
7.
8.
10
Bnamespace HW1
11
O references
class Program
{
12
13
re
static void Main(string[] args)
Submit screenshot after running the code for each part (The screenshot must have your name
and ID, see the example).
ON CAWINDOWS\system32\cmd.exe
Name: Your name
ID
: Your university ID
MENU
1. Show grades
2. Show average
3. Max grade
4. Min grade
5. Modify a grade
6. Search by ID
0. Exit
Please enter your choice:
Write a menu program in C# that manages students grades for one class. The program lets the user
select from a list of options, and if the input is not one of the options, reprint the list.
The program should prompt the user to enter a number corresponding with one of the choices, or the
number 0 to exit. As long as the user doesn't enter 0, the program should keep showing the same menu
to the user.
Set of possible choices:
1. Show all grades: Print all students ID, name, and grades.
Transcribed Image Text:HW1 Instructions: Your homework must have a cover page contains homework number, your name and student id. Submit the code on word file or pdf file. Write your name and student id as comment in the code (see the example). 回HW1 * HW1.Program B// Name: Your name // ID : Your university ID Busing System; using System.Collections. Generic; using System. Linq; using System. Text; using System.Threading. Tasks; 6. 7. 8. 10 Bnamespace HW1 11 O references class Program { 12 13 re static void Main(string[] args) Submit screenshot after running the code for each part (The screenshot must have your name and ID, see the example). ON CAWINDOWS\system32\cmd.exe Name: Your name ID : Your university ID MENU 1. Show grades 2. Show average 3. Max grade 4. Min grade 5. Modify a grade 6. Search by ID 0. Exit Please enter your choice: Write a menu program in C# that manages students grades for one class. The program lets the user select from a list of options, and if the input is not one of the options, reprint the list. The program should prompt the user to enter a number corresponding with one of the choices, or the number 0 to exit. As long as the user doesn't enter 0, the program should keep showing the same menu to the user. Set of possible choices: 1. Show all grades: Print all students ID, name, and grades.
Expert Solution
trending now

Trending now

This is a popular solution!

steps

Step by step

Solved in 2 steps with 4 images

Blurred answer
Recommended textbooks for you
Computer Networking: A Top-Down Approach (7th Edi…
Computer Networking: A Top-Down Approach (7th Edi…
Computer Engineering
ISBN:
9780133594140
Author:
James Kurose, Keith Ross
Publisher:
PEARSON
Computer Organization and Design MIPS Edition, Fi…
Computer Organization and Design MIPS Edition, Fi…
Computer Engineering
ISBN:
9780124077263
Author:
David A. Patterson, John L. Hennessy
Publisher:
Elsevier Science
Network+ Guide to Networks (MindTap Course List)
Network+ Guide to Networks (MindTap Course List)
Computer Engineering
ISBN:
9781337569330
Author:
Jill West, Tamara Dean, Jean Andrews
Publisher:
Cengage Learning
Concepts of Database Management
Concepts of Database Management
Computer Engineering
ISBN:
9781337093422
Author:
Joy L. Starks, Philip J. Pratt, Mary Z. Last
Publisher:
Cengage Learning
Prelude to Programming
Prelude to Programming
Computer Engineering
ISBN:
9780133750423
Author:
VENIT, Stewart
Publisher:
Pearson Education
Sc Business Data Communications and Networking, T…
Sc Business Data Communications and Networking, T…
Computer Engineering
ISBN:
9781119368830
Author:
FITZGERALD
Publisher:
WILEY