#include <iostream> 
using namespace std; 
  
int main() 
{ 
  // read an int (see 5.1) using a very lengthy prompt 
  int answer; 
  cout << endl << endl << endl << endl; 
  cout << "       8" << endl; 
  cout << "      +2" << endl; 
  cout << "      --" << endl; 
  cout << "      "; 
  cin >> answer; 
  cin.ignore(1000, 10); 
  
  cout << "      "; 
  if (answer == 10) // see 6.1
    cout << "Correct!" << endl; 
  else  // see 6.3
    cout << "Very good, but a better answer is 10" << endl; 
} 
