Computer Science, asked by uahmed, 9 months ago

Write a complete C program to simulate the playing game of dice. The program does the following: a. The main program call a function named introduction to print the description of what the program does at the top of the first output page. This function is not sent any parameters and does not return a value. b. Then the main function asks the user to type in two integers values in the range from 1 to 6. The main program reads the two integers into variable called die1 and die 2 and prints the numbers. c. The main program sends these two integer values to a function named find outcome. The function determines the result of using these two numbers according to this scheme. 1) If the numbers add up to 7 or 11, player wins, and the function indicates this. 2) If the numbers add up to 2 or 12, the player loses, and the function indicates this. 3) If the number add up to anything else, the player continues, and the function indicates this.

Answers

Answered by Anonymous
0

The image in the colour red in the Aadhaar logo showcases a fingerprint as well as an

iris as both are used ..Conceptual design based on ideas. Technical design based on knowledgeable and solid experience.

Similar questions