Question: PLEASE USE THE JAVA PROGRAMMING LANGUAGE Q Network+ 3th Editx C Assignment 52 Assignment_5-2 X Untitled documer X How to Become a X Course Hero

PLEASE USE THE JAVA PROGRAMMING LANGUAGE PLEASE USE THE JAVA PROGRAMMING LANGUAGE Q Network+ 3th Editx C Assignment

Q Network+ 3th Editx C Assignment 52 Assignment_5-2 X Untitled documer X How to Become a X Course Hero C Get Homework Hex C X BAHO A fade X + + c G !!! Apps o YouTube Maps C News G GOOGLE G Google Books Google Docs M Gmail Google Docs M Gmail Google Note-taking o Mail - daniellab.com (h hoopla streaming... Scholarshipown tconnect: Login = Assignment_5-2_Rubric (1).pdf 1/1 76% + Assignment 5-2 (15 points): Dice Roll Your goal is to prompt the user for how many times they would like to roll the dice and then roll 2 dice. Display how many times the user won, lost, or tied the computer's dice roll Prompt the user for the number of dice rolls using the Scanner class. Save their answer in a variable points) Output Dice in How many would you like to coil the dict Use a loop to generate 2 random die rolls (user and computer) and conditionals to determine if the user won (larger number than the computer), lost smaller number than the computer), or tied the computer equal. Display cach of the rolls along with whether the user won, lost, or tied (10) Outputketren D w many times would you like to all the dice User rolls: 1 Computer rolls: 2 Tous Display the total number of wins, losses, and ties (3 points) Output - Dicem How many times wuld you like to all the do? De volls Carles 22 Yo lose De most compter le Yoreste . Total Low: Total Challenge: Prompt the user for the number of dice rolls as long as the number that they enter is less than 0. (Boms: 3 points) We would you like the dice Talo Type here to search OB o DW E 952 AM 3/1/2021

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!