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: .

Programming with Microsoft Visual Basic 2017
8th Edition
ISBN:9781337102124
Author:Diane Zak
Publisher:Diane Zak
Chapter5: The Repetition Structure
Section: Chapter Questions
Problem 17E
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
  • SEE MORE QUESTIONS
Recommended textbooks for you
Programming with Microsoft Visual Basic 2017
Programming with Microsoft Visual Basic 2017
Computer Science
ISBN:
9781337102124
Author:
Diane Zak
Publisher:
Cengage Learning
Np Ms Office 365/Excel 2016 I Ntermed
Np Ms Office 365/Excel 2016 I Ntermed
Computer Science
ISBN:
9781337508841
Author:
Carey
Publisher:
Cengage