Answered step by step
Verified Expert Solution
Question
1 Approved Answer
ASSIGNMENT INFORMATION begin{tabular}{|c|c|} hline Due Date & Points Possible Sunday. February 26, 2023 & 10 11:59 PM hline end{tabular} DUE MIDNIGHT 02/26
ASSIGNMENT INFORMATION \begin{tabular}{|c|c|} \hline Due Date & Points Possible \\ Sunday. February 26, 2023 & 10 \\ 11:59 PM \\ \hline \end{tabular} DUE MIDNIGHT 02/26 This assignment will test you on using loops, the Random class, and a main method to run your program. The Problem: Things required for full credit in this assignment: - Two dice - Loop that will run the game until you hit doubles - Print out the results of each "roll" of the dice - Clearly define which die rolled what (ex: "Die 1 rolled x and Die 2 rolled y ) Extra Credit: Keep track of how many times it took to hit doubles (running total) Extra Credit: Implement user input to re-run the game without breaking the loop (think about the counter when re-running the game too) Please turn in your full class in a Zip folder so I can look at it and run it. Please submit zip files as: [First Initial]_[Last Name]_[Assignment Name].zip
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started