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 QualifyScore(ScoreType 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.FICO/VantageScore Rating
\table[[Exceptional/Excellent,800-850,781-850using Microsoft.VisualStudio.TestTools.UnitTesting;
using System;
[TestClass]
public partial class CreditScore
{
enum ScoreType
{
FICO,
Vantage
}
string QualifyScore(ScoreType type, int actualScore)
{
//Your code starts here
if(scoreType.FICO.Equals(type)){
if(actualScore>=800 && actualScore=850){
return "Exceptional";
}else if(actualScore>=740){
return "Very Good";
}else if(actualScore>=670){
return "Good";
}else if(actualScore>=580){
return "Fair";
}else if(actualScore>=300){
return "Poor";
}
}else{
if(actualScore>=781 && actualScore=850){
return "Excellent";
}else if(actualScore>=661){
return "Good";
}else if(actualScore>=601){
return "Fair";
}else if(actualScore>=500){
return "Poor";
}else if(actualScore>=300){
return "Very Poor";
}
}
return "";
//Your code ends here
}
}
Based on the table in this website that shows

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 Programming Questions!