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, 22.06.2019 10:50
Write a 3-4 page apa formatted paper comparing your organization’s it strategy with the best practices outlined in your course text. content should include, but not be limited to: developing and delivering on the it value, developing it strategy for the business value and linking it to business metrics. your paper should include an abstract and a conclusion and a reference page with 3-5 references
Answers: 1
question
Computers and Technology, 22.06.2019 13:00
Why the bear has a slunky tail determine the meaning of the word slunk in the story
Answers: 1
question
Computers and Technology, 23.06.2019 01:10
Are special combinations of keys that tell a computer to perform a command. keypads multi-keys combinations shortcuts
Answers: 1
question
Computers and Technology, 23.06.2019 06:00
When is a chart legend used a. all the time b. whenever you are comparing data that is the same c. whenever you are comparing multiple sets of data d. only for hand-drawn charts
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, 27.10.2019 23:43
Questions on the website: 13722367