mber of times ay value for a

EBK JAVA PROGRAMMING
9th Edition
ISBN:9781337671385
Author:FARRELL
Publisher:FARRELL
Chapter8: Arrays
Section: Chapter Questions
Problem 9PE
icon
Related questions
Question
100%

In addition to the instructions on the screenshot, please ensure that your program is made in C++ with comments. Please also ensure that screenshots are taken for the source code and the executed version, including all possible cases. Finally, add your code in a manner so I can just copy and paste it for review. Thanks. 

1. Write an application that will roll a six-sided die N times. The program will display the
number of times each face comes up. The program will also calculate the minimum and
max value for a face. Finally, the program will calculate the range of the roll. Remember,
range is the difference between a maximum value and a minimum value in a data set i.e
Range = max Value - minValue.
Example Date set = {2, 30, 10, 20, 100}
minValue = 2
max Value = 100
range = max - min
= 100-2 =98
Your program must should have at least one function that return the frequency of each
face as a dynamic 1D array.
Transcribed Image Text:1. Write an application that will roll a six-sided die N times. The program will display the number of times each face comes up. The program will also calculate the minimum and max value for a face. Finally, the program will calculate the range of the roll. Remember, range is the difference between a maximum value and a minimum value in a data set i.e Range = max Value - minValue. Example Date set = {2, 30, 10, 20, 100} minValue = 2 max Value = 100 range = max - min = 100-2 =98 Your program must should have at least one function that return the frequency of each face as a dynamic 1D array.
Expert Solution
steps

Step by step

Solved in 4 steps with 2 images

Blurred answer
Knowledge Booster
Transmission media
Learn more about
Need a deep-dive on the concept behind this application? Look no further. Learn more about this topic, computer-science and related others by exploring similar questions and additional content below.
Similar questions
  • SEE MORE QUESTIONS
Recommended textbooks for you
EBK JAVA PROGRAMMING
EBK JAVA PROGRAMMING
Computer Science
ISBN:
9781337671385
Author:
FARRELL
Publisher:
CENGAGE LEARNING - CONSIGNMENT