CIS22A - Fall 2019 - Lab Exercise 7

due Wednesday, 11/6 8:30 am

Lab exercises are not accepted late.

Put your name, Lab Exercise 7, and compiler and the operating system used in a comment at the top of your program. Email only your source code. Your source code should be sent as an attachment (with the name ex7.cpp).  Use "Ex7" as the subject of your email submission

Program Requirements

Write a function that simulates the rolling of two dice and returns their sum.  A dice roll is a random number between 1 and 6.  Demonstrate your function be calling it 5 times from main().  Place the function definition below main() and a function prototype above main().