Answered step by step
Verified Expert Solution
Question
1 Approved Answer
Q 4 Labs) lab 3 Create a directory called lab3. Submit your source file (must be named lab3.c) and screen shot - the screen shot
Q 4
Labs) lab 3 Create a directory called lab3. Submit your source file (must be named lab3.c) and screen shot - the screen shot must include the compilation command with -Wall and the successful running of the program times. You must follow the description in the book except you will generate N random numbers instead of reading the numbers in. You will ask the user for the number of numbers and also ask the user for the upper limit on the numbers. Make 3 runs, run 1: 20 numbers 1-100, run 2:20 numbers 1-100, run 3: 1000 numbers 1-5000 (The first 2 are the same input to test that you are getting two different outputs) Create a function to generate the average of the numbers and the standard deviation. Must print all doubles with only 2 numbers after the decimal point INPUT/OUTPUT: Enter the number of random integers to generate:- With
- , generated randomly: Smallest:
Step 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