// Convert numeric points to letter grade
#include<iostream> using
namespace std;
int main()
{
int score;
// Define minimum scores for A, B, C, and D
const int minA=90, minB=80, minC=70, minD=60;
// Get score from user
cout << "Enter score: ";
cin >> score;
// Report corresponding letter grade
if (score>=minA)
cout << "You get an A\n";
else if (score>=minB)
cout << "You get a B\n";
else if (score>=minC)
cout << "You get a C\n";
else if (score>=minD)
cout << "You get a D\n";
else
cout << "You get an F\n";
return 0;
}