Details of this Paper

Write a C# program that creates a StudentAverage class consisting

Description

solution


Question

Write a C# program that creates a StudentAverage class consisting of student name, student id, and 4 grades. The grades are for for exam 1, exam 2, exam 3, and exam 4. In a separate implementation class, allow the user to enter the grades. Call the constructor to create an instance of the StudentAverage class. Include appropriate properties. Do not allow the object to be changed after an object has been constructed. Provide a method in the StudentAverage class to compute and return the average exam grades. Override the ToString() method to return the information from the user. Print all grades and the average formatted with 2 digits to the right of the decimal. Use a single class method to enter all the data.

 

Paper#65599 | Written in 18-Jul-2015

Price : $32
SiteLock