Question: in codeblock for c++ program 3. Write a program that emulates rolling a die a) Main handles all input and output. b) Create a function
3. Write a program that emulates rolling a die a) Main handles all input and output. b) Create a function named roll to calculate the outcome of a six sided dice rol1. - returns the result of a single dice roll c) Create a second function named roll to calculate dice rolls of a specific dice size. - accept the dice size as a parameter - returns the result of a single dice roll d) Main should output the result of rolling: - a six sided die three times - a 10, 20 and 30 sided die once time each
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
