Question: (code blocks) C program Write a program that fulfills the following requirements: 1. Starts a point value at e. 2. Uses a do-while loop, asking

(code blocks) (code blocks) C program Write a program that fulfills the following requirements:
C program

Write a program that fulfills the following requirements: 1. Starts a point value at e. 2. Uses a do-while loop, asking the user if they want to continue or leave the program. 3. Uses the rand function to simulate drawing the values for two dice (the numbers are 1-6) 4. Performs the following actions based on the dice values if they are equal, add 5 to the point value. if the sum of the two values is 7, add 7 to the point value. if the sum of the two values is 11, add 11 to the point value if they are equal and the sum of the two values is 2 (each die has a value of one) print out Snake Eyes! and set the point value to e

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!