Question: In C# write the method CalculateScore o-clRP:Baic Programming 2: Working with Parameter Types Parameterized Constructor-Trainee (stringl 1, float D The constructor should initialize the member

In C# write the method CalculateScore
 In C# write the method CalculateScore o-clRP:Baic Programming 2: Working with
Parameter Types Parameterized Constructor-Trainee (stringl 1, float D The constructor should initialize

o-clRP:Baic Programming 2: Working with Parameter Types Parameterized Constructor-Trainee (stringl 1, float D The constructor should initialize the member variables TocusArea' and 'marks' with appropriate values CalculateScorefout float percentage,out char grade.out string message Jbool isRetest false) method . This method returns the total score and assigns the values of different parameters as per the rules mentioned . Score should be calculated as a sum of all focus area marks. If the value of isRetest parameter is true, thern a penalty of 10% should be applied on the total score For calculating the percentage, the maximum marks of each focus area should be considered as 100 . The value of the out parameters 'grade' and 'message' should be determined as per the rules mentioned Percentage -85 and -0 and

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!