Question: How do I solve this in MATLAB? Question #5. Write a script that simulates the rolling of two dice. Create a variable called DI_1 and
How do I solve this in MATLAB?

Question \#5. Write a script that simulates the rolling of two dice. Create a variable called DI_1 and DI_2. Set each of those variables to a random integer between 1 and 6 (inclusive). Display the number rolled on each die. Use an if/else construct to display a message to the player showing the sum of the two dice and stating whether the player won the game. If the sum of the values rolled is an even number, the player wins. Otherwise, the player loses
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
