Answered step by step
Verified Expert Solution
Link Copied!

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

image text in transcribed

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

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Introductory Relational Database Design For Business With Microsoft Access

Authors: Jonathan Eckstein, Bonnie R. Schultz

1st Edition

1119329418, 978-1119329411

More Books

Students also viewed these Databases questions