Create a Class named GradeMethod , which consists of the following functions: string Marks(int marks) to Input
Fantastic news! We've Found the answer you've been seeking!
Question:
Create a Class named GradeMethod, which consists of the following functions:
string Marks(int marks) to Input marks and return grade wrt marks according to the table below:
A------------------(87-100)
B+-----------------(80-86)
B-------------------(75-80)
C-------------------(65-74)
public static string PercentageMarks(int marks) to returns percentage wrt marks
Use Grade Method in the main function to display the grades and percentage of the marks calculated.
Related Book For
Posted Date: