Write a program using vectors that simulates the rolling of a single die a hundred times. The program should store 100

Business, Finance, Economics, Accounting, Operations Management, Computer Science, Electrical Engineering, Mechanical Engineering, Civil Engineering, Chemical Engineering, Algebra, Precalculus, Statistics and Probabilty, Advanced Math, Physics, Chemistry, Biology, Nursing, Psychology, Certifications, Tests, Prep, and more.
Post Reply
answerhappygod
Site Admin
Posts: 899603
Joined: Mon Aug 02, 2021 8:13 am

Write a program using vectors that simulates the rolling of a single die a hundred times. The program should store 100

Post by answerhappygod »

Write a program using vectors that simulates the rolling of a
single die a hundred times. The program should store 100
rolls of the die. After the program rolls the die, the
program then goes through the 100 elements in the vector and
tallies up the number of 1 rolls, the number of 2 rolls, the number
of 3 rolls, the number of 4 rolls, the number of 5 rolls, and the
number of 6 rolls. The program then displays the number of
the respective rolls to the user.
You are responsible for demonstrating all the functionality of
your program based on the rubric for you to get credit.
please do it in C++
Join a community of subject matter experts. Register for FREE to view solutions, replies, and use search function. Request answer by replying!
Post Reply