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 20:40
Instruction active describing list features which statements accurately describe the features of word that are used to create lists? check all that apply. the tab key can be used to create a sublist. the enter key can be used to add an item to a list. the numbering feature allows for the use of letters in a list. the numbering feature can change the numbers to bullets in a list. the multilevel list feature provides options for different levels in a list.
Answers: 2
question
Computers and Technology, 24.06.2019 00:00
The gene form of a trait is called a(n) 
Answers: 2
question
Computers and Technology, 24.06.2019 08:00
Can someone work out the answer as it comes up in one of my computer science exams and i don't understand the cryptovariables
Answers: 1
question
Computers and Technology, 24.06.2019 11:00
Why is it uncommon for users to perform searches directly in database tables? a.)users are discouraged from interacting directly with tables because they might confuse tables with spreadsheets. b.) users are discouraged from interacting directly with tables because this may result in unintended changes to source data. c.)users do not have the technical skills required to perform searches directly in database tables. d.)users do not have the permissions required to perform searches directly in database tables.
Answers: 1
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, 17.10.2019 06:30
question
Computers and Technology, 17.10.2019 06:30
question
History, 17.10.2019 06:30
Questions on the website: 13722359