Question: 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:
, Largest: , Average:
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
