DeVry University Programming (CIS170C) Lab04 Coin Toss and Dice Rolling Program
- Description
- Full Document
DeVry University Programming (CIS170C)
CIS170C Week 4:
Lab Report Student:
StudentRubric
Point distribution for this activity:Section
Deliverable PointsLab 4
Step 5: Program
Listing and Output
30All Steps Total 30(1) Code/
/ ————————————————–
————-//
Programming Assig
nment: LAB04//
Developer: Student//
Date Written: 07/27/2017//
Purpose: Coin
Toss and Dice Rolling
Program // —————————————————————#include
<iostream>#include
<random>#include<ctime>
using namespace std;//Prototype
functionsint flipCoin(void)
;int rollDice(int);//Main
Functionint
main() { //Declare
Variablesint toss,
numSides;char
choice;unsigned seed = time(0);\
(2) ScreenshotCopy and paste a screenshot of the program working. If there are multiple parts to the lab, please labeleach part. The screenshot should show the entirety of the program.
Preview
