Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

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''
image text in transcribed

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

Students also viewed these Databases questions