Answered step by step
Verified Expert Solution
Question
1 Approved Answer
- rerissleflimb Wewill be creating a tibrary from our lab assignment 1 . Follow the notes in the lecture to convert your math functions, sum,
rerissleflimb
Wewill be creating a tibrary from our lab assignment Follow the notes in the lecture to convert your math functions, sum, standard cleviation, and everage to a custom llbrary that will be linked in the linkege stage. Wo will also be ad dinge custom structure clata type and a custom pint function for the array. Datalled instructions are belows
Step : Library Greation
Greate two filest statisticsh and statistics.a Statisticsh file will contain the funcion declarations. Stasticsc will contain the function implementation. Greate a library of these two files that can be linked to le when you complle in this step it should look something tile
Ensure assigmment I still operates as previousity.
Step : New functionality
Add the functions to your new statisties theray to find the maximum and minimum of a given input array. Finally. find the absoltte value of the difference between the maximum and minimum.
Next, Greatean ortpit arrayce and ortput arrayh that defines a function which takes the array and size as an input argument and ortputs the arrey. Ortput the array to the screen using the new function in mainc. Complation shouldooklike thiss
Grading Soale
codecomplless
threry creation
Outpit errayed hilles implemeneted:
code produces expected output:
that
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