Hello, I was wondering if I could get an answer to the rock, paper, scissor project. There’s this part of the code that populates the rock, paper, scissor emoji. How do I enter a different emoji into the output like this? I would like to better understand the process. If anyone could explain it to me, I would greatly appreciate it
std::cout << “1) \n”;
std::cout << “2) \n”;
std::cout << “3) \n”;
Thank you for your time.
Would like some feed back of the solution to the C++ rock paper scissors project. The logic looks for a tie then looks for a user win, else everything after that is a computer win.
#include <stdlib.h> #include
/*Rock, Paper, Scissors is a game of chance between two competitors and is scored either as a win for one competitor or a draw for each competitor. The hierarchy of the game is based on the dominance of paper covers rock, rock breaks scissors, scissors cut paper. */
int main() {
int computer = rand() % 3 + 1;
int user = 0;