View Single Post
  #12  
Old 06-13-2005, 06:07 PM
arigo
Fire Beetle
 
Join Date: May 2005
Posts: 20
Default

// You have to run the program before deciding
// Remember, a promise is a promise
#include <iostream>
using namespace std;

int main()
{
cout << "I would like the privilege to see the dev board for educational purposes. "
<< endl << "However, I do not want the gay junior dev title."
<< endl << endl << "You will allow me to see the board right?"
<< endl << "(Y)es/(N)o:";
char willnottakenoforanswer = 'n';

cin >> willnottakenoforanswer;

while ((willnottakenoforanswer!='y') && (willnottakenoforanswer!='Y'))
{ cout << "Wrong answer, please try again." << endl;
cin >> willnottakenoforanswer;
}
cout << "That was the right choice.";
return 0;
}
Reply With Quote