print(' Hello, please reboot your computer and try to connect.') answer = input('Did that fix the problem? ') if answer != 'yes': print('Reboot your computer and try to connect.') answer = input('Did that fix the problem? ') if answer != 'yes': print('Make sure the cables between the router and modem are plugged in firmly.') answer = input('Did that fix the problem? ') if answer != 'yes': print('Move the router to a new location and try to connect.') answer = input('Did that fix the problem? ') if answer != 'yes': print('Get a New router.')
cin
cout
C++
string answer; cout << " Hello, please reboot your computer and try to connect.\n"; cout << "Did that fix the problem? "; cin >> answer; if (answer != "yes") { // continue here... }
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)