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: CWINDOWS\system32\cmd.exe MENU 1. Show grades 2. Show average 3. Max grade 4. Min grade 5. Modify a grade 6. Search by ID . Exit Please enter your choice: CAWINDOWSsystem32\cmd.exe Please enter your choice: 1 Show grades No - ID Name: Grades 1-1111 2-2222 Student1: 80 Student2: 90 3- 3333 4 4444 Student 3: 95 Student4: 70 MENU 1. Show grades 2. Show average 3. Max grade 4. Min grade 5. Modify a grade 6. Search by ID e. Exit Please enter your choice: .

Database System Concepts
7th Edition
ISBN:9780078022159
Author:Abraham Silberschatz Professor, Henry F. Korth, S. Sudarshan
Publisher:Abraham Silberschatz Professor, Henry F. Korth, S. Sudarshan
Chapter1: Introduction
Section: Chapter Questions
Problem 1PE
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:
A CAWINDOWS\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:
CAWINDOWS\system32\cmd.exe
Please enter your choice: 1
Show grades
No ID Name: Grades
1- 1111
2- 2222
3- 3333
Student1: 80
Student2: 90
Student3: 95
4444
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: A CAWINDOWS\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: CAWINDOWS\system32\cmd.exe Please enter your choice: 1 Show grades No ID Name: Grades 1- 1111 2- 2222 3- 3333 Student1: 80 Student2: 90 Student3: 95 4444 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).
O 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;
10
Bnamespace HW1
11
O references
class Program
12
13
Oreferences
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).
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). O 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; 10 Bnamespace HW1 11 O references class Program 12 13 Oreferences 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). 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
Knowledge Booster
Array
Learn more about
Need a deep-dive on the concept behind this application? Look no further. Learn more about this topic, computer-science and related others by exploring similar questions and additional content below.
Similar questions
Recommended textbooks for you
Database System Concepts
Database System Concepts
Computer Science
ISBN:
9780078022159
Author:
Abraham Silberschatz Professor, Henry F. Korth, S. Sudarshan
Publisher:
McGraw-Hill Education
Starting Out with Python (4th Edition)
Starting Out with Python (4th Edition)
Computer Science
ISBN:
9780134444321
Author:
Tony Gaddis
Publisher:
PEARSON
Digital Fundamentals (11th Edition)
Digital Fundamentals (11th Edition)
Computer Science
ISBN:
9780132737968
Author:
Thomas L. Floyd
Publisher:
PEARSON
C How to Program (8th Edition)
C How to Program (8th Edition)
Computer Science
ISBN:
9780133976892
Author:
Paul J. Deitel, Harvey Deitel
Publisher:
PEARSON
Database Systems: Design, Implementation, & Manag…
Database Systems: Design, Implementation, & Manag…
Computer Science
ISBN:
9781337627900
Author:
Carlos Coronel, Steven Morris
Publisher:
Cengage Learning
Programmable Logic Controllers
Programmable Logic Controllers
Computer Science
ISBN:
9780073373843
Author:
Frank D. Petruzella
Publisher:
McGraw-Hill Education