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: .
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
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: .](/v2/_next/image?url=https%3A%2F%2Fcontent.bartleby.com%2Fqna-images%2Fquestion%2F3637746b-789d-487f-a615-08740c863ff7%2F606dd6d9-6f87-44b1-8669-370d52a2d251%2F53hc8f0f_processed.jpeg&w=3840&q=75)
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.](/v2/_next/image?url=https%3A%2F%2Fcontent.bartleby.com%2Fqna-images%2Fquestion%2F3637746b-789d-487f-a615-08740c863ff7%2F606dd6d9-6f87-44b1-8669-370d52a2d251%2F33t990i_processed.jpeg&w=3840&q=75)
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
![](/static/compass_v2/shared-icons/check-mark.png)
This question has been solved!
Explore an expertly crafted, step-by-step solution for a thorough understanding of key concepts.
This is a popular solution!
Trending now
This is a popular solution!
Step by step
Solved in 2 steps with 4 images
![Blurred answer](/static/compass_v2/solution-images/blurred-answer.jpg)
Knowledge Booster
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.Recommended textbooks for you
![Programming with Microsoft Visual Basic 2017](https://www.bartleby.com/isbn_cover_images/9781337102124/9781337102124_smallCoverImage.gif)
Programming with Microsoft Visual Basic 2017
Computer Science
ISBN:
9781337102124
Author:
Diane Zak
Publisher:
Cengage Learning
Np Ms Office 365/Excel 2016 I Ntermed
Computer Science
ISBN:
9781337508841
Author:
Carey
Publisher:
Cengage
![Programming with Microsoft Visual Basic 2017](https://www.bartleby.com/isbn_cover_images/9781337102124/9781337102124_smallCoverImage.gif)
Programming with Microsoft Visual Basic 2017
Computer Science
ISBN:
9781337102124
Author:
Diane Zak
Publisher:
Cengage Learning
Np Ms Office 365/Excel 2016 I Ntermed
Computer Science
ISBN:
9781337508841
Author:
Carey
Publisher:
Cengage