subject

Write a program that: -asks the user how many dice he wants to roll (1, 2, or 3)
-uses random numbers to produce the values for the dice
-print the desired number of dice with the correct value using a text-image of the dice
-check if the user gives valid input, close the program with a friendly error message if not
-include a prolog (comments at the start of the program including the name of the file, the date, the people who worked on it, the program description, etc.)
-include comments throughout describing what part of code completes which task
-you may consult with online sources, but you are responsible for any code you use.

ansver
Answers: 3

Another question on Computers and Technology

question
Computers and Technology, 23.06.2019 00:20
The open systems interconnection (osi) reference model: defines standards for many aspects of computing and communications within a network. is a generic description for how computers use multiple layers of protocol rules to communicate across a network. defines standards for wireless local area network (wlan) communication protocols. details the advantages and disadvantages of various basic network cabling options.
Answers: 1
question
Computers and Technology, 23.06.2019 18:40
How does is make you feel when you're kind to others? what are some opportunities in your life to be more kind to your friends and loved ones? imagine a world where kindness has be outlawed. how would people act differently? would your day-to-day life change significantly? why or why not?
Answers: 2
question
Computers and Technology, 24.06.2019 08:00
Java the manager of a football stadium wants you to write a program that calculates the total ticket sales after each game
Answers: 1
question
Computers and Technology, 24.06.2019 21:40
Clunker motors inc. is recalling all vehicles in its extravagant line from model years 1999—2002 as well as all vehicles in its guzzler line from model years 2004—2007. a boolean variable named recalled has been declared. given a variable modelyear and a string modelname, write a statement that assigns true to recalled if the values of modelyear and modelname match the recall details and assigns false otherwise.
Answers: 2
You know the right answer?
Write a program that: -asks the user how many dice he wants to roll (1, 2, or 3)
-uses random...
Questions
question
Mathematics, 26.09.2021 20:10
question
Business, 26.09.2021 20:10
question
English, 26.09.2021 20:20
question
Mathematics, 26.09.2021 20:20
question
English, 26.09.2021 20:20
question
Biology, 26.09.2021 20:20
Questions on the website: 13722363