Question: Lab Assignment 2 We will be creating a library from our lab assignment 1 . Follow the notes in the lecture to convert your math

Lab Assignment 2
We will be creating a library from our lab assignment 1. Follow the notes in the lecture to convert your math functions, sum, standard devitition, and everege to a custom librany that will be linked in the linkage stage. We will also be adifinge custom structure data type and a custom pint function for the array. Detailed instructions are belows
Step 1: Library creation
Create tuo filess statistics hand statisticse. Statistics h file will contain the funcion declarations. Stastics. will contain the function implementation, Greate a librany of these two files that can be linked to, le. when you complie in this step it should look something titie
des main mainac of- istatistica
Ensure assigmment I still operates as previoushy.
Step 2: New functionality
Adt the functions to your new statistics therey to find the maximum and minimum of a given input arras, Finallys find the absolute value of the difference between the maximum and minimum. inportare ment and ortputs the aress. Ortput the arey to the screen using the new function in mainc. Complation shouldiooklite thiss
Grading Scale
codeconpiless 30%
thresy creation: 30%
Crtpte eraye/h files implemeneted: 20%
coleproduces expected output: 20%
totels 10026
mathe
1/ assigmnet 1 main.c
Finclude (:ln''}(:ln''}%.2fln={2.5,3.7,8.9,12.1}83:?
?''8.2fn''
 Lab Assignment 2 We will be creating a library from our

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!