I want to have my users of my programs to have the choice to start over by pressing y for yes and n for no, also, after it get results, u must press enter again for the optains to appear


Heres part of the code
Code:
int cels(){
 
  float x;  
  cout << "Temperature Celsius:";
  cin>> x;
  cin.ignore();
  cout << "Fahrenheit:" << cel (x);
  cin.get();
 int input3;
  cout<<"Start over 1.yes / 2.no :\n";
  cin>> input3;
  switch ( input3 ) {
  case 1:            
    main();
    break;
  case 2:            
    cout:"/n";
    break;
  default:            
    cout<<"Error\n";
    break;
  }
 }
i had to have yes and no be choesen by 1 or 2