Answered step by step
Verified Expert Solution
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
- 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 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
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started