Book name: Problem Solving with C++ by Savitch Addison-Wesley, 8th ed. 2012 PROJECT 1, 5, 18 ON CHAPTER 3 These are my solutions! But it needs little correction, very little correction! PROJECT 1 ON CHAPTER 3: #include <iostream> using namespace std; int main() { char input1, input2, repeat; do { cout << "Player-1 turn! Enter your move. For rock press r/R, for paper press p/P, and for scissor press s/S, please! " << endl; cin >> input1; cout << "Player-2 turn! Enter your move. For rock press r/R, for paper press p/P, and for scissor press s/S please! " << endl; cin >> input2; if (input1 != 'r' && input1 != 'R' // if which checks the both inputs CLOSING && input1 != 'p' && input1 != 'P' && input1 != 's' && input1 != 'S' && input2 != 'r' && input2 != 'R' && input2 != 'p' && input2 != 'P' && input2 != 's' && input2 != 'S') { cout << "You have entered wrong input!! " << endl; } else if (input1 == 'r' || input1 == 'R') { if (input2 == 'p' || input2 == 'P') { cout << "Paper defeat the rock!" << endl; cout << "Player 2 wins the game!" << endl; } else if (input2 == 's' || input2 == 'S') { cout << "Scissor defeat the paper!" << endl; cout << "Player 1 wins the game!" << endl; } else // if input2 == 'R' || 'r' { cout << "Rock will not defeat other rock!" << endl; cout << "Tie! Neither Player 1 nor Player 2 won the game! " << endl; } } // CLOSING LOOP for player 1 when he input R else if (input1 == 'p' || input1 == 'P') { if ((input2 == 'r') || (input2 == 'R')) { cout << "Paper defeats rock!" << endl; cout << "Player 1 is the winner!" << endl; } else if ((input2 == 'p') || (input2 == 'P')) { cout << "Paper will not defeat other paper!" << endl; cout << "Tie! Neither Player 1 nor Player 2 won the game! " << endl; } else //if (input2 == 's' || input2 == 'S') { cout << "Scissor will defeat paper!" << endl; cout << "Player 2 is the winner!" << endl; } } // CLOSING LOOP if the 1st player enters p or P else //if (input1 == 's' || input1 == 'S') { if ((input2 == 'r') || (input2 == 'R')) { cout << " Rock will defeat scissor" << endl; cout << "Player 2 is the winner!" << endl; } else if (input2 == 'p' || input2 == 'P') { cout << "Scissor will defeat paper" << endl; cout << "Player 1 is the winner!" << endl; } ...