Problem 2 Problem Simulate Rock Paper Scissor Game M Script File Using Menu Function Allow Q37259424

Problem 2: For this problem you will simulate a rock-paper-scissor game in a *.m script file. Using the menu function allow tMatlab not c++Problem 2: For this problem you will simulate a rock-paper-scissor game in a *.m script file. Using the menu function allow the user to choose “Rock”, “Paper”, or “Scissors”, 1 should be stored for “Rock”, 2 should be stored for “Paper” and 3 should be stored for “Scissors”. Generate a random number of 1, 2, or 3 for the computers response. Use if-elseif structure to compare the user’s input to the random number of

OR
OR

Leave a Comment

This site uses Akismet to reduce spam. Learn how your comment data is processed.