Code:
std::cout << "Do you have a touch screen? (1/0) " << std::endl;
std::cin >> has_touchscreen;
ask the user if they have a touch screen. great idea. NOT ! and lets just forget to ask what kind of operating system they have. and if you get and answer from the user how do you know if it is an honest one ? and lets not forget to program for one type or another of operating system in the routine.
yea i pretty much gave up on this project due to too many different os .
Code:
std::cout << "are you telling the truth? (1/0) " << std::endl;
std::cin >> telling_truth;
std::cout << "what type of operating system do you have ? ( win/mac/and/misc) " << std::endl;
std::cin >> type_os;
std::cout << "are you telling the truth? (1/0) " << std::endl;
std::cin >> telling_truth;
std::cout << "are you sure you are telling the truth? (1/0) " << std::endl;
std::cin >> sure_telling_truth;