Program.cs Student 198 199 200 201 282 203 882 Debug X Y Any CPU Analyze Tools Extensions Window Help Search (Ctrl+Q) Start - - 命同,易版|重见习认识, Student Program stud[i].display(); classAvg+= stud[i].average(); Console.WriteLine("Overall class average: "+classAvg/n); Console.WriteLine("Overall class grade:+studal comental Console Writers Program P Student
Program.cs Student 198 199 200 201 282 203 882 Debug X Y Any CPU Analyze Tools Extensions Window Help Search (Ctrl+Q) Start - - 命同,易版|重见习认识, Student Program stud[i].display(); classAvg+= stud[i].average(); Console.WriteLine("Overall class average: "+classAvg/n); Console.WriteLine("Overall class grade:+studal comental Console Writers Program P Student
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...
Related questions
Question
Help of what these errors mean.
In C#
• Create a Class, named Student, to hold properties of Student Last Name, Student First Name, Student ID (9 digits), Course Prefix and Number, and the tests (Test 1, Test 2, Test 3, Test 4). Create appropriate setter and getter accessors, and constructors. Use access modifiers. Example: First Name : Pat Last Name : Smythe Student ID : ABC111333 Course Prefix : CIST Course Name : 2431 Test 1 : 100 Test 2 : 90 Test 3 : 80 Test 4 : 88
• Prompt the user for the Student Last and First Name, Student ID, Course Prefix and Number and the tests. • Include at least one exception handling function. • Use an array to store the 4 test grades.
• Use a looping structure to populate the array.
• Calculate the numeric average based upon the 4 equally-weighted numeric grades.
• Display all the data for each of student using a looping structure.
• Display the numeric average for each student.
• Create a function that will convert the numeric average to a letter grade average using the grading scale: o A = 90 to100 o B = 80 to 89 o C = 70 to 79 o D = 60 to 69 o F = 0 to 59
• The function must return the value of the letter grade average.
• Display the letter grade average for each student.
• Calculate the overall class average as a numeric and then a letter grade.
• For the last line of the output, display the overall class average as a numeric and then a letter grade.
• Write the student data only from the Student Class for each student to a CSV file. Use a looping structure to implement this function. Allow the user to enter the filename. Note that the Course Prefix and Number should not be comma separated. So, CIST, 2431 should be written as (notice the omission of the comma): CIST 2431 Do NOT write the averages to the file. There should be one line written for each student exactly as this example: Smythe, Pat, ABC111333, CIST 2431, 100, 90, 80, 88 Jones, ……… Note that Last Name is written first.
Expert Solution
This question has been solved!
Explore an expertly crafted, step-by-step solution for a thorough understanding of key concepts.
Step by step
Solved in 2 steps
Recommended textbooks for you
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 Engineering
ISBN:
9780124077263
Author:
David A. Patterson, John L. Hennessy
Publisher:
Elsevier Science
Network+ Guide to Networks (MindTap Course List)
Computer Engineering
ISBN:
9781337569330
Author:
Jill West, Tamara Dean, Jean Andrews
Publisher:
Cengage Learning
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 Engineering
ISBN:
9780124077263
Author:
David A. Patterson, John L. Hennessy
Publisher:
Elsevier Science
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
Computer Engineering
ISBN:
9781337093422
Author:
Joy L. Starks, Philip J. Pratt, Mary Z. Last
Publisher:
Cengage Learning
Prelude to Programming
Computer Engineering
ISBN:
9780133750423
Author:
VENIT, Stewart
Publisher:
Pearson Education
Sc Business Data Communications and Networking, T…
Computer Engineering
ISBN:
9781119368830
Author:
FITZGERALD
Publisher:
WILEY