Answered step by step
Verified Expert Solution
Question
1 Approved Answer
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 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-1Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started