Question: Histogram - BY C NOT C + + + PLEASE, write CODE by C Program Write a program that queries the user for a number

Histogram - BY C NOT C+++ PLEASE, write CODE by C Program
Write a program that queries the user for a number of times two roll two 6-sided dice and the simulates rolling
them. Count the number of times each value is rolled using an array, and display the percentage and frequency
of each roll in a histogram similar to the following example:
Enter number of rolls:45
histogram:
02(0.00%):
(4.44%):**%
(8.89%):********
(11.11%):**********
(20.00%):******************
(28.89%):**************************
(0.00%):
(11.11%):**********
(4.44%):**%
(8.89%):********
(2.22%):**
 Histogram - BY C NOT C+++ PLEASE, write CODE by C

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!