IE 218 - LAB 1 1) Write C# code to calculate the average of three grades of a course. Program will display average and letter grades. The letter grade equivalences of the average ranges are seen below. Numerical grade Letter grade 90-100 AA 85-89 BA 80-84 BB 70-79 СВ 60-69 CC 50-59 DC 45-49 DD 35-44 FD 0-34 FF OUTPUT SCREENS: a CAWINDOWS\system. Enter first grade:75 Enter second grade:51 Enter third grade:68 Average-64,67 Letter grade=CC Press any key to continue Program must not allow entering negative numbers CAWINDOWS\system32\c. Enter first grade:58 Enter second grade:-46 Enter third grade:91 There is one or more negative grades. Enter must positive grades. Press any key to continue ... All grades have to be in the range [0, 100] A C:\WINDOWSlsystem32\cmd.exe O X Enter first grade:57 Enter second grade:125 Enter third grade:77 One or more grades are greater than 100. You must enter values in the range [0,100]. Press any key to continue ....

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
what is correct answer?
1/3
IE 218 - LAB 1
1) Write C# code to calculate the average of three grades of a course. Program will display
average and letter grades. The letter grade equivalences of the average ranges are
seen below.
Numerical grade Letter grade
90-100 AA
85-89 BA
80-84 BB
70-79 CB
60-69 CC
50-59 DC
45-49 DD
35-44 FD
0-34 FF
OUTPUT SCREENS:
C:\WINDOWS\system.
Enter first grade:75
Enter second grade:51
Enter third grade:68
Average-64,67
Letter grade=CC
Press any key to continue
Program must not allow entering negative numbers
G C:\WINDOWS\system32\c.
Enter first grade:58
Enter second grade:-46
Enter third grade:91
There is one or more negative grades.
Enter must positive grades.
Press any key to continue
All grades have to be in the range [0, 100]
C:\WINDOWS\system32\cmd.exe
Enter first grade:57
Enter second grade:125
Enter third grade:77
One or more grades are greater than 100.
You must enter values in the range [0,100].
Press any key to continue
Transcribed Image Text:1/3 IE 218 - LAB 1 1) Write C# code to calculate the average of three grades of a course. Program will display average and letter grades. The letter grade equivalences of the average ranges are seen below. Numerical grade Letter grade 90-100 AA 85-89 BA 80-84 BB 70-79 CB 60-69 CC 50-59 DC 45-49 DD 35-44 FD 0-34 FF OUTPUT SCREENS: C:\WINDOWS\system. Enter first grade:75 Enter second grade:51 Enter third grade:68 Average-64,67 Letter grade=CC Press any key to continue Program must not allow entering negative numbers G C:\WINDOWS\system32\c. Enter first grade:58 Enter second grade:-46 Enter third grade:91 There is one or more negative grades. Enter must positive grades. Press any key to continue All grades have to be in the range [0, 100] C:\WINDOWS\system32\cmd.exe Enter first grade:57 Enter second grade:125 Enter third grade:77 One or more grades are greater than 100. You must enter values in the range [0,100]. Press any key to continue
Expert Solution
steps

Step by step

Solved in 7 steps with 5 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