#include <iostream> 
using namespace std; 
  
int main() 
{ 
  // read a score from the keyboard (see 5.1) 
  int score; 
  cout << "What is your test score? [0-100]: "; 
  cin >> score; 
  cin.ignore(1000, 10); 
  
  // see if score is in the B range 
  if (score >= 80 &&score < 90) 
    cout << "Your grade is B" << endl; 
} 
