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 11:40
Pthreads programming: create and terminate a thread write a c++ program that creates a thread. the main will display a message “hello world from the main”. the main will create a thread that will display a message “hello world from the thread” and then terminates with a call to pthread_exit()
Answers: 3
question
Computers and Technology, 23.06.2019 09:30
After you present a proposal, the committee starts asking you questions, some beyond the strict focus of your proposal. they ask questions about implications in other fields and knowledge about other fields. you are asked to redo your proposal. what is most likely missing? breadth of material depth of material clarity of material details of material
Answers: 1
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 12:10
What is it called during the editing process when the processor ensures that a character holding a coffee mug from one angle is holding the same mug in the same way when the shot switches to another camera at another angle? cinematography continuity technology prop use
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, 07.05.2020 06:05
question
History, 07.05.2020 06:05
Questions on the website: 13722367