Hello, I want to do a do-if-else and include a character.


Code:
do
    {
        cout << "\nWhat grade you think you will earn in this class? ";
        cin >> final;
        

        if (final == "A")
            {
            cout << "\nYou will get an A? ";
            cout << "\nYou worked hard. ";
            }
        else
            { 
            cout << "\nMaybe you should have studied more often!. ";
            cout << "\nDon't be sad. ";
            }
}
    
while;

  
  pause();
  
  }
It's char final. But it dosen't work. Also gives me an error for pause.