Question: Please do it in C language. MAE 2360 S20 Lab 4 1. Write a program to simulate the rolling of one six sided die 20

 Please do it in C language. MAE 2360 S20 Lab 4

Please do it in C language.

MAE 2360 S20 Lab 4 1. Write a program to simulate the rolling of one six sided die 20 times and print the results a. to the screen first. b. to a file using" > ". Use cat to view the file. C. Modify the program to save the results in an array. d. Repeat for 2 dice, saving to a different file name. 2. Write a program to calculate and print mean and standard deviation for set of n data points in an array. a. Test by input of known values Mean: = -1 Xi Standard deviation: Sx = (Xi-x)2 N-1

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!