Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Create a flow chart for your proposed solution (don,t write the codes ) Objective: Write a program that gives the statistics of an 8-sided die

  1. Create a flow chart for your proposed solution (don,t write the codes )

image text in transcribed

Objective: Write a program that gives the statistics of an 8-sided die being rolled some number of times! The user puts in the number of times the die is rolled. Make sure to check for valid inputs, so no negative numbers. Then use a random number generator that picks only the number 1 through 8 and keep tally on each of those. Give the statistics at the end. Example Dialog: Enter the number of times an 8-sided die should be rolled 100 2 was rolled 4 was rolled 7 was rolled 7 was rolled 5 was rolled 8 was rolled 7 was rolled

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Students also viewed these Databases questions