Question: Based on the table in this website that shows ratings for FICO and VatangeScore ranges. Implement the function: string QualifyScore ( ScoreType type, int actualScore
Based on the table in this website that shows ratings for FICO and VatangeScore ranges. Implement the function:
string QualifyScoreScoreType type, int actualScore
For this part you are writing only the code for the function. The code should pass all the test cases. The test cases are already implemented and will be run by the system.FICOVantageScore Rating
tableExceptionalExcellentusing Microsoft.VisualStudio.TestTools.UnitTesting;
using System;
TestClass
public partial class CreditScore
enum ScoreType
FICO,
Vantage
string QualifyScoreScoreType type, int actualScore
Your code starts here
ifscoreTypeFICO.Equalstype
ifactualScore && actualScore
return "Exceptional";
else ifactualScore
return "Very Good";
else ifactualScore
return "Good";
else ifactualScore
return "Fair";
else ifactualScore
return "Poor";
else
ifactualScore && actualScore
return "Excellent";
else ifactualScore
return "Good";
else ifactualScore
return "Fair";
else ifactualScore
return "Poor";
else ifactualScore
return "Very Poor";
return ;
Your code ends here
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
