Question: I need this program done in next 15 mins. The code has to be in C language. please do asap. Thanks! 11.3 Lab week 4

I need this program done in next 15 mins. The code hasI need this program done in next 15 mins. The code has to be in C language. please do asap. Thanks!

11.3 Lab week 4 - How many Die Create a program that will prompt the user for the number of die (between 0 and 3) that the user would like the computer to roll. Based on that input, and using if-else statements output the appropriate number of die values (between 1 and 12, we have fancy dice), and sum up the values appearing on the die. For example, here are a few executions: Please enter the number of die to be rolled: 2 The two die have values of 7 and 12, for a total of 19 Please enter the number of die to be rolled: 5 We can only roll at most 3 dice. Please enter the number of die to be rolled: -2 Number of die to be rolled must be greater than O There are three test cases just to get you started, the remaining 7 points will consist of: formatting 2pts, comments 2pts, variable names 1pt, random numbers working properly (should get different die values everytime program is run) 2 points. For a total of 10 points LAB ACTIVITY 11.3.1: Lab week 4- How many Die 0/3 main.c Load default template... 1 #include 2 #include 3 #include 5 int main) i 7 10

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!