SlideShare a Scribd company logo
1 of 2
Download to read offline
please help implement the following in C. below are instructions and partial code below that,
step one is completed in the image.
double getMean(const int *arr, int size) {
//TODO: implement
}
int getMin(const int *arr, int size) {
//TODO: implement
}
int getIndexOfMin(const int *arr, int size) {
//TODO: implement
}
int getMax(const int *arr, int size) {
//TODO: implement
}
int getIndexOfMax(const int *arr, int size) {
//TODO: implement
}
int * filterThreshold(const int *arr, int size, int threshold, int *resultSize) {
//TODO: implement
}
int **createMultiplicationTable(int n, int m) {
//TODO: implement
}
1. Write documentation in the array_util.h file in your own words so you have an understanding
of what it does. 2. Implement the function in the array_util.c file. 3. Test your function in the
arrayMain.c file to verify it works. Look for ways to make your life easier: some functions may
be able to utilize others. - double getMean(const int *arr, int size) - computes the average of
elements in arr - int getmin (const int *arr, int size) - returns the minimum element in arr - int
getindexofmin(const int *arr, int size) - returns the index of the the minimum element in arr - int
getmax(const int *arr, int size) - returns the maximum element in arr - int getIndexofmax (const
int *arr, int size) - returns the index of the the maximum element in arr - int *
filterthreshold(const int *arr, int size, int threshold, int *resultsize) - creates and returns a new
array that contains elements in arr that are greater than or equal to threshold. The size of the
returned array is communicated through the pass-by-reference variable, resultSize. For example,
if we pass the array [10,5,32,8,7, 28,15,12] with threshold =10 then the returned array should be
[10,32,28,15,12] and the resultSize would be set to 5 . - int **createMultiplicationTable (int n,
int m ) - creates and returns a new (nx m) 2-D array that contains the values in a multiplication
table. For example, if n=3,m= 5 then the result should look like:

More Related Content

Similar to please help implement the following in C. below are instructions and.pdf

Python 03-parameters-graphics.pptx
Python 03-parameters-graphics.pptxPython 03-parameters-graphics.pptx
Python 03-parameters-graphics.pptxTseChris
 
ObjectivesMore practice with recursion.Practice writing some tem.docx
ObjectivesMore practice with recursion.Practice writing some tem.docxObjectivesMore practice with recursion.Practice writing some tem.docx
ObjectivesMore practice with recursion.Practice writing some tem.docxvannagoforth
 
C++ Programming Homework Help
C++ Programming Homework HelpC++ Programming Homework Help
C++ Programming Homework HelpC++ Homework Help
 
Cheat Sheet for Stata v15.00 PDF Complete
Cheat Sheet for Stata v15.00 PDF CompleteCheat Sheet for Stata v15.00 PDF Complete
Cheat Sheet for Stata v15.00 PDF CompleteTsamaraLuthfia1
 
Imugi: Compiler made with Python
Imugi: Compiler made with PythonImugi: Compiler made with Python
Imugi: Compiler made with PythonHan Lee
 
in c languageTo determine the maximum string length, we need to .pdf
in c languageTo determine the maximum string length, we need to .pdfin c languageTo determine the maximum string length, we need to .pdf
in c languageTo determine the maximum string length, we need to .pdfstopgolook
 
Lecture 9_Classes.pptx
Lecture 9_Classes.pptxLecture 9_Classes.pptx
Lecture 9_Classes.pptxNelyJay
 
Aae oop xp_06
Aae oop xp_06Aae oop xp_06
Aae oop xp_06Niit Care
 
Complete the classes shown below 1. The MinHeap Class Write necessa.pdf
Complete the classes shown below 1. The MinHeap Class Write necessa.pdfComplete the classes shown below 1. The MinHeap Class Write necessa.pdf
Complete the classes shown below 1. The MinHeap Class Write necessa.pdfamericanopticalscbe
 
Stata Cheat Sheets (all)
Stata Cheat Sheets (all)Stata Cheat Sheets (all)
Stata Cheat Sheets (all)Laura Hughes
 
Everything needs to be according to the instructions- thank you! SUPPO.pdf
Everything needs to be according to the instructions- thank you! SUPPO.pdfEverything needs to be according to the instructions- thank you! SUPPO.pdf
Everything needs to be according to the instructions- thank you! SUPPO.pdffirstchoiceajmer
 
Data Structure In C#
Data Structure In C#Data Structure In C#
Data Structure In C#Shahzad
 
Required to augment the authors Binary Search Tree (BST) code to .docx
Required to augment the authors Binary Search Tree (BST) code to .docxRequired to augment the authors Binary Search Tree (BST) code to .docx
Required to augment the authors Binary Search Tree (BST) code to .docxdebishakespeare
 
Write a program that obtains the execution time of selection sort, bu.pdf
Write a program that obtains the execution time of selection sort, bu.pdfWrite a program that obtains the execution time of selection sort, bu.pdf
Write a program that obtains the execution time of selection sort, bu.pdfarri2009av
 
The Ring programming language version 1.8 book - Part 94 of 202
The Ring programming language version 1.8 book - Part 94 of 202The Ring programming language version 1.8 book - Part 94 of 202
The Ring programming language version 1.8 book - Part 94 of 202Mahmoud Samir Fayed
 
Recursion to iteration automation.
Recursion to iteration automation.Recursion to iteration automation.
Recursion to iteration automation.Russell Childs
 
Describe a data structure that supports both removeMin() and rem.pdf
Describe a data structure that supports both removeMin() and rem.pdfDescribe a data structure that supports both removeMin() and rem.pdf
Describe a data structure that supports both removeMin() and rem.pdfarihantstoneart
 

Similar to please help implement the following in C. below are instructions and.pdf (20)

Python 03-parameters-graphics.pptx
Python 03-parameters-graphics.pptxPython 03-parameters-graphics.pptx
Python 03-parameters-graphics.pptx
 
ObjectivesMore practice with recursion.Practice writing some tem.docx
ObjectivesMore practice with recursion.Practice writing some tem.docxObjectivesMore practice with recursion.Practice writing some tem.docx
ObjectivesMore practice with recursion.Practice writing some tem.docx
 
C++ Programming Homework Help
C++ Programming Homework HelpC++ Programming Homework Help
C++ Programming Homework Help
 
Cheat Sheet for Stata v15.00 PDF Complete
Cheat Sheet for Stata v15.00 PDF CompleteCheat Sheet for Stata v15.00 PDF Complete
Cheat Sheet for Stata v15.00 PDF Complete
 
Functions
FunctionsFunctions
Functions
 
Imugi: Compiler made with Python
Imugi: Compiler made with PythonImugi: Compiler made with Python
Imugi: Compiler made with Python
 
in c languageTo determine the maximum string length, we need to .pdf
in c languageTo determine the maximum string length, we need to .pdfin c languageTo determine the maximum string length, we need to .pdf
in c languageTo determine the maximum string length, we need to .pdf
 
Lecture 9_Classes.pptx
Lecture 9_Classes.pptxLecture 9_Classes.pptx
Lecture 9_Classes.pptx
 
Arrays
ArraysArrays
Arrays
 
C sharp chap6
C sharp chap6C sharp chap6
C sharp chap6
 
Aae oop xp_06
Aae oop xp_06Aae oop xp_06
Aae oop xp_06
 
Complete the classes shown below 1. The MinHeap Class Write necessa.pdf
Complete the classes shown below 1. The MinHeap Class Write necessa.pdfComplete the classes shown below 1. The MinHeap Class Write necessa.pdf
Complete the classes shown below 1. The MinHeap Class Write necessa.pdf
 
Stata Cheat Sheets (all)
Stata Cheat Sheets (all)Stata Cheat Sheets (all)
Stata Cheat Sheets (all)
 
Everything needs to be according to the instructions- thank you! SUPPO.pdf
Everything needs to be according to the instructions- thank you! SUPPO.pdfEverything needs to be according to the instructions- thank you! SUPPO.pdf
Everything needs to be according to the instructions- thank you! SUPPO.pdf
 
Data Structure In C#
Data Structure In C#Data Structure In C#
Data Structure In C#
 
Required to augment the authors Binary Search Tree (BST) code to .docx
Required to augment the authors Binary Search Tree (BST) code to .docxRequired to augment the authors Binary Search Tree (BST) code to .docx
Required to augment the authors Binary Search Tree (BST) code to .docx
 
Write a program that obtains the execution time of selection sort, bu.pdf
Write a program that obtains the execution time of selection sort, bu.pdfWrite a program that obtains the execution time of selection sort, bu.pdf
Write a program that obtains the execution time of selection sort, bu.pdf
 
The Ring programming language version 1.8 book - Part 94 of 202
The Ring programming language version 1.8 book - Part 94 of 202The Ring programming language version 1.8 book - Part 94 of 202
The Ring programming language version 1.8 book - Part 94 of 202
 
Recursion to iteration automation.
Recursion to iteration automation.Recursion to iteration automation.
Recursion to iteration automation.
 
Describe a data structure that supports both removeMin() and rem.pdf
Describe a data structure that supports both removeMin() and rem.pdfDescribe a data structure that supports both removeMin() and rem.pdf
Describe a data structure that supports both removeMin() and rem.pdf
 

More from amarrex323

Please help me with the linux commands for the following tasks. I am.pdf
Please help me with the linux commands for the following tasks. I am.pdfPlease help me with the linux commands for the following tasks. I am.pdf
Please help me with the linux commands for the following tasks. I am.pdfamarrex323
 
Please help make class diagram. below is final tableFinal Table.pdf
Please help make class diagram. below is final tableFinal Table.pdfPlease help make class diagram. below is final tableFinal Table.pdf
Please help make class diagram. below is final tableFinal Table.pdfamarrex323
 
please help me on the case! provide step by step explainations!.pdf
please help me on the case! provide step by step explainations!.pdfplease help me on the case! provide step by step explainations!.pdf
please help me on the case! provide step by step explainations!.pdfamarrex323
 
Please provide class diagram. 2) The admin module will allow car .pdf
Please provide class diagram. 2) The admin module will allow car .pdfPlease provide class diagram. 2) The admin module will allow car .pdf
Please provide class diagram. 2) The admin module will allow car .pdfamarrex323
 
Please Prove using pumping lemma 2. Show that the language Lnp={w{a,.pdf
Please Prove using pumping lemma 2. Show that the language Lnp={w{a,.pdfPlease Prove using pumping lemma 2. Show that the language Lnp={w{a,.pdf
Please Prove using pumping lemma 2. Show that the language Lnp={w{a,.pdfamarrex323
 
Please help me to solve this one! (a) Let X1,X2,�,Xn,Xn+1,�,X2n be.pdf
Please help me to solve this one! (a) Let X1,X2,�,Xn,Xn+1,�,X2n be.pdfPlease help me to solve this one! (a) Let X1,X2,�,Xn,Xn+1,�,X2n be.pdf
Please help me to solve this one! (a) Let X1,X2,�,Xn,Xn+1,�,X2n be.pdfamarrex323
 
Please make the program runs at O(nlogm) see arrayfun. h for doc.pdf
Please make the program runs at O(nlogm)  see arrayfun. h for doc.pdfPlease make the program runs at O(nlogm)  see arrayfun. h for doc.pdf
Please make the program runs at O(nlogm) see arrayfun. h for doc.pdfamarrex323
 
Please help me to critique this articleAgency Theory Perspect.pdf
Please help me to critique this articleAgency Theory Perspect.pdfPlease help me to critique this articleAgency Theory Perspect.pdf
Please help me to critique this articleAgency Theory Perspect.pdfamarrex323
 
please match each of these terms with the best description each o.pdf
please match each of these terms with the best description  each o.pdfplease match each of these terms with the best description  each o.pdf
please match each of these terms with the best description each o.pdfamarrex323
 
Please look at the customer-introduced variable and service designed.pdf
Please look at the customer-introduced variable and service designed.pdfPlease look at the customer-introduced variable and service designed.pdf
Please look at the customer-introduced variable and service designed.pdfamarrex323
 
Please I want an exact and correct answerQuality Management Modu.pdf
Please I want an exact and correct answerQuality Management Modu.pdfPlease I want an exact and correct answerQuality Management Modu.pdf
Please I want an exact and correct answerQuality Management Modu.pdfamarrex323
 
please i need help to write paper and which should be 5-8 pages i.pdf
please i need help to write paper  and which should be 5-8 pages i.pdfplease i need help to write paper  and which should be 5-8 pages i.pdf
please i need help to write paper and which should be 5-8 pages i.pdfamarrex323
 
please helpWrite the vhdl code of a delay flip flop with the .pdf
please helpWrite the vhdl code of  a delay flip flop with the .pdfplease helpWrite the vhdl code of  a delay flip flop with the .pdf
please helpWrite the vhdl code of a delay flip flop with the .pdfamarrex323
 
Please Help!5.list of all sentences along with criminals informati.pdf
Please Help!5.list of all sentences along with criminals informati.pdfPlease Help!5.list of all sentences along with criminals informati.pdf
Please Help!5.list of all sentences along with criminals informati.pdfamarrex323
 
please help asap!!! Alternation of generationsThe paragraph below.pdf
please help asap!!! Alternation of generationsThe paragraph below.pdfplease help asap!!! Alternation of generationsThe paragraph below.pdf
please help asap!!! Alternation of generationsThe paragraph below.pdfamarrex323
 
Please help with this question.Please help with this question. O.pdf
Please help with this question.Please help with this question. O.pdfPlease help with this question.Please help with this question. O.pdf
Please help with this question.Please help with this question. O.pdfamarrex323
 
Please help me with this. Thank you. .pdf
Please help me with this. Thank you.                            .pdfPlease help me with this. Thank you.                            .pdf
Please help me with this. Thank you. .pdfamarrex323
 
Please help with ALL parts of the question. I will upvote if correct.pdf
Please help with ALL parts of the question. I will upvote if correct.pdfPlease help with ALL parts of the question. I will upvote if correct.pdf
Please help with ALL parts of the question. I will upvote if correct.pdfamarrex323
 
please help and include explanations for a better understanding than.pdf
please help and include explanations for a better understanding than.pdfplease help and include explanations for a better understanding than.pdf
please help and include explanations for a better understanding than.pdfamarrex323
 
Please help me understand these problems! 7. [LO2] Write the command.pdf
Please help me understand these problems! 7. [LO2] Write the command.pdfPlease help me understand these problems! 7. [LO2] Write the command.pdf
Please help me understand these problems! 7. [LO2] Write the command.pdfamarrex323
 

More from amarrex323 (20)

Please help me with the linux commands for the following tasks. I am.pdf
Please help me with the linux commands for the following tasks. I am.pdfPlease help me with the linux commands for the following tasks. I am.pdf
Please help me with the linux commands for the following tasks. I am.pdf
 
Please help make class diagram. below is final tableFinal Table.pdf
Please help make class diagram. below is final tableFinal Table.pdfPlease help make class diagram. below is final tableFinal Table.pdf
Please help make class diagram. below is final tableFinal Table.pdf
 
please help me on the case! provide step by step explainations!.pdf
please help me on the case! provide step by step explainations!.pdfplease help me on the case! provide step by step explainations!.pdf
please help me on the case! provide step by step explainations!.pdf
 
Please provide class diagram. 2) The admin module will allow car .pdf
Please provide class diagram. 2) The admin module will allow car .pdfPlease provide class diagram. 2) The admin module will allow car .pdf
Please provide class diagram. 2) The admin module will allow car .pdf
 
Please Prove using pumping lemma 2. Show that the language Lnp={w{a,.pdf
Please Prove using pumping lemma 2. Show that the language Lnp={w{a,.pdfPlease Prove using pumping lemma 2. Show that the language Lnp={w{a,.pdf
Please Prove using pumping lemma 2. Show that the language Lnp={w{a,.pdf
 
Please help me to solve this one! (a) Let X1,X2,�,Xn,Xn+1,�,X2n be.pdf
Please help me to solve this one! (a) Let X1,X2,�,Xn,Xn+1,�,X2n be.pdfPlease help me to solve this one! (a) Let X1,X2,�,Xn,Xn+1,�,X2n be.pdf
Please help me to solve this one! (a) Let X1,X2,�,Xn,Xn+1,�,X2n be.pdf
 
Please make the program runs at O(nlogm) see arrayfun. h for doc.pdf
Please make the program runs at O(nlogm)  see arrayfun. h for doc.pdfPlease make the program runs at O(nlogm)  see arrayfun. h for doc.pdf
Please make the program runs at O(nlogm) see arrayfun. h for doc.pdf
 
Please help me to critique this articleAgency Theory Perspect.pdf
Please help me to critique this articleAgency Theory Perspect.pdfPlease help me to critique this articleAgency Theory Perspect.pdf
Please help me to critique this articleAgency Theory Perspect.pdf
 
please match each of these terms with the best description each o.pdf
please match each of these terms with the best description  each o.pdfplease match each of these terms with the best description  each o.pdf
please match each of these terms with the best description each o.pdf
 
Please look at the customer-introduced variable and service designed.pdf
Please look at the customer-introduced variable and service designed.pdfPlease look at the customer-introduced variable and service designed.pdf
Please look at the customer-introduced variable and service designed.pdf
 
Please I want an exact and correct answerQuality Management Modu.pdf
Please I want an exact and correct answerQuality Management Modu.pdfPlease I want an exact and correct answerQuality Management Modu.pdf
Please I want an exact and correct answerQuality Management Modu.pdf
 
please i need help to write paper and which should be 5-8 pages i.pdf
please i need help to write paper  and which should be 5-8 pages i.pdfplease i need help to write paper  and which should be 5-8 pages i.pdf
please i need help to write paper and which should be 5-8 pages i.pdf
 
please helpWrite the vhdl code of a delay flip flop with the .pdf
please helpWrite the vhdl code of  a delay flip flop with the .pdfplease helpWrite the vhdl code of  a delay flip flop with the .pdf
please helpWrite the vhdl code of a delay flip flop with the .pdf
 
Please Help!5.list of all sentences along with criminals informati.pdf
Please Help!5.list of all sentences along with criminals informati.pdfPlease Help!5.list of all sentences along with criminals informati.pdf
Please Help!5.list of all sentences along with criminals informati.pdf
 
please help asap!!! Alternation of generationsThe paragraph below.pdf
please help asap!!! Alternation of generationsThe paragraph below.pdfplease help asap!!! Alternation of generationsThe paragraph below.pdf
please help asap!!! Alternation of generationsThe paragraph below.pdf
 
Please help with this question.Please help with this question. O.pdf
Please help with this question.Please help with this question. O.pdfPlease help with this question.Please help with this question. O.pdf
Please help with this question.Please help with this question. O.pdf
 
Please help me with this. Thank you. .pdf
Please help me with this. Thank you.                            .pdfPlease help me with this. Thank you.                            .pdf
Please help me with this. Thank you. .pdf
 
Please help with ALL parts of the question. I will upvote if correct.pdf
Please help with ALL parts of the question. I will upvote if correct.pdfPlease help with ALL parts of the question. I will upvote if correct.pdf
Please help with ALL parts of the question. I will upvote if correct.pdf
 
please help and include explanations for a better understanding than.pdf
please help and include explanations for a better understanding than.pdfplease help and include explanations for a better understanding than.pdf
please help and include explanations for a better understanding than.pdf
 
Please help me understand these problems! 7. [LO2] Write the command.pdf
Please help me understand these problems! 7. [LO2] Write the command.pdfPlease help me understand these problems! 7. [LO2] Write the command.pdf
Please help me understand these problems! 7. [LO2] Write the command.pdf
 

Recently uploaded

REMIFENTANIL: An Ultra short acting opioid.pptx
REMIFENTANIL: An Ultra short acting opioid.pptxREMIFENTANIL: An Ultra short acting opioid.pptx
REMIFENTANIL: An Ultra short acting opioid.pptxDr. Ravikiran H M Gowda
 
Food safety_Challenges food safety laboratories_.pdf
Food safety_Challenges food safety laboratories_.pdfFood safety_Challenges food safety laboratories_.pdf
Food safety_Challenges food safety laboratories_.pdfSherif Taha
 
80 ĐỀ THI THỬ TUYỂN SINH TIẾNG ANH VÀO 10 SỞ GD – ĐT THÀNH PHỐ HỒ CHÍ MINH NĂ...
80 ĐỀ THI THỬ TUYỂN SINH TIẾNG ANH VÀO 10 SỞ GD – ĐT THÀNH PHỐ HỒ CHÍ MINH NĂ...80 ĐỀ THI THỬ TUYỂN SINH TIẾNG ANH VÀO 10 SỞ GD – ĐT THÀNH PHỐ HỒ CHÍ MINH NĂ...
80 ĐỀ THI THỬ TUYỂN SINH TIẾNG ANH VÀO 10 SỞ GD – ĐT THÀNH PHỐ HỒ CHÍ MINH NĂ...Nguyen Thanh Tu Collection
 
How to Manage Global Discount in Odoo 17 POS
How to Manage Global Discount in Odoo 17 POSHow to Manage Global Discount in Odoo 17 POS
How to Manage Global Discount in Odoo 17 POSCeline George
 
Towards a code of practice for AI in AT.pptx
Towards a code of practice for AI in AT.pptxTowards a code of practice for AI in AT.pptx
Towards a code of practice for AI in AT.pptxJisc
 
Graduate Outcomes Presentation Slides - English
Graduate Outcomes Presentation Slides - EnglishGraduate Outcomes Presentation Slides - English
Graduate Outcomes Presentation Slides - Englishneillewis46
 
How to setup Pycharm environment for Odoo 17.pptx
How to setup Pycharm environment for Odoo 17.pptxHow to setup Pycharm environment for Odoo 17.pptx
How to setup Pycharm environment for Odoo 17.pptxCeline George
 
On_Translating_a_Tamil_Poem_by_A_K_Ramanujan.pptx
On_Translating_a_Tamil_Poem_by_A_K_Ramanujan.pptxOn_Translating_a_Tamil_Poem_by_A_K_Ramanujan.pptx
On_Translating_a_Tamil_Poem_by_A_K_Ramanujan.pptxPooja Bhuva
 
On National Teacher Day, meet the 2024-25 Kenan Fellows
On National Teacher Day, meet the 2024-25 Kenan FellowsOn National Teacher Day, meet the 2024-25 Kenan Fellows
On National Teacher Day, meet the 2024-25 Kenan FellowsMebane Rash
 
Wellbeing inclusion and digital dystopias.pptx
Wellbeing inclusion and digital dystopias.pptxWellbeing inclusion and digital dystopias.pptx
Wellbeing inclusion and digital dystopias.pptxJisc
 
UGC NET Paper 1 Mathematical Reasoning & Aptitude.pdf
UGC NET Paper 1 Mathematical Reasoning & Aptitude.pdfUGC NET Paper 1 Mathematical Reasoning & Aptitude.pdf
UGC NET Paper 1 Mathematical Reasoning & Aptitude.pdfNirmal Dwivedi
 
How to Add New Custom Addons Path in Odoo 17
How to Add New Custom Addons Path in Odoo 17How to Add New Custom Addons Path in Odoo 17
How to Add New Custom Addons Path in Odoo 17Celine George
 
Fostering Friendships - Enhancing Social Bonds in the Classroom
Fostering Friendships - Enhancing Social Bonds  in the ClassroomFostering Friendships - Enhancing Social Bonds  in the Classroom
Fostering Friendships - Enhancing Social Bonds in the ClassroomPooky Knightsmith
 
21st_Century_Skills_Framework_Final_Presentation_2.pptx
21st_Century_Skills_Framework_Final_Presentation_2.pptx21st_Century_Skills_Framework_Final_Presentation_2.pptx
21st_Century_Skills_Framework_Final_Presentation_2.pptxJoelynRubio1
 
Tatlong Kwento ni Lola basyang-1.pdf arts
Tatlong Kwento ni Lola basyang-1.pdf artsTatlong Kwento ni Lola basyang-1.pdf arts
Tatlong Kwento ni Lola basyang-1.pdf artsNbelano25
 
ICT role in 21st century education and it's challenges.
ICT role in 21st century education and it's challenges.ICT role in 21st century education and it's challenges.
ICT role in 21st century education and it's challenges.MaryamAhmad92
 
Sociology 101 Demonstration of Learning Exhibit
Sociology 101 Demonstration of Learning ExhibitSociology 101 Demonstration of Learning Exhibit
Sociology 101 Demonstration of Learning Exhibitjbellavia9
 
OSCM Unit 2_Operations Processes & Systems
OSCM Unit 2_Operations Processes & SystemsOSCM Unit 2_Operations Processes & Systems
OSCM Unit 2_Operations Processes & SystemsSandeep D Chaudhary
 
Kodo Millet PPT made by Ghanshyam bairwa college of Agriculture kumher bhara...
Kodo Millet  PPT made by Ghanshyam bairwa college of Agriculture kumher bhara...Kodo Millet  PPT made by Ghanshyam bairwa college of Agriculture kumher bhara...
Kodo Millet PPT made by Ghanshyam bairwa college of Agriculture kumher bhara...pradhanghanshyam7136
 
Basic Civil Engineering first year Notes- Chapter 4 Building.pptx
Basic Civil Engineering first year Notes- Chapter 4 Building.pptxBasic Civil Engineering first year Notes- Chapter 4 Building.pptx
Basic Civil Engineering first year Notes- Chapter 4 Building.pptxDenish Jangid
 

Recently uploaded (20)

REMIFENTANIL: An Ultra short acting opioid.pptx
REMIFENTANIL: An Ultra short acting opioid.pptxREMIFENTANIL: An Ultra short acting opioid.pptx
REMIFENTANIL: An Ultra short acting opioid.pptx
 
Food safety_Challenges food safety laboratories_.pdf
Food safety_Challenges food safety laboratories_.pdfFood safety_Challenges food safety laboratories_.pdf
Food safety_Challenges food safety laboratories_.pdf
 
80 ĐỀ THI THỬ TUYỂN SINH TIẾNG ANH VÀO 10 SỞ GD – ĐT THÀNH PHỐ HỒ CHÍ MINH NĂ...
80 ĐỀ THI THỬ TUYỂN SINH TIẾNG ANH VÀO 10 SỞ GD – ĐT THÀNH PHỐ HỒ CHÍ MINH NĂ...80 ĐỀ THI THỬ TUYỂN SINH TIẾNG ANH VÀO 10 SỞ GD – ĐT THÀNH PHỐ HỒ CHÍ MINH NĂ...
80 ĐỀ THI THỬ TUYỂN SINH TIẾNG ANH VÀO 10 SỞ GD – ĐT THÀNH PHỐ HỒ CHÍ MINH NĂ...
 
How to Manage Global Discount in Odoo 17 POS
How to Manage Global Discount in Odoo 17 POSHow to Manage Global Discount in Odoo 17 POS
How to Manage Global Discount in Odoo 17 POS
 
Towards a code of practice for AI in AT.pptx
Towards a code of practice for AI in AT.pptxTowards a code of practice for AI in AT.pptx
Towards a code of practice for AI in AT.pptx
 
Graduate Outcomes Presentation Slides - English
Graduate Outcomes Presentation Slides - EnglishGraduate Outcomes Presentation Slides - English
Graduate Outcomes Presentation Slides - English
 
How to setup Pycharm environment for Odoo 17.pptx
How to setup Pycharm environment for Odoo 17.pptxHow to setup Pycharm environment for Odoo 17.pptx
How to setup Pycharm environment for Odoo 17.pptx
 
On_Translating_a_Tamil_Poem_by_A_K_Ramanujan.pptx
On_Translating_a_Tamil_Poem_by_A_K_Ramanujan.pptxOn_Translating_a_Tamil_Poem_by_A_K_Ramanujan.pptx
On_Translating_a_Tamil_Poem_by_A_K_Ramanujan.pptx
 
On National Teacher Day, meet the 2024-25 Kenan Fellows
On National Teacher Day, meet the 2024-25 Kenan FellowsOn National Teacher Day, meet the 2024-25 Kenan Fellows
On National Teacher Day, meet the 2024-25 Kenan Fellows
 
Wellbeing inclusion and digital dystopias.pptx
Wellbeing inclusion and digital dystopias.pptxWellbeing inclusion and digital dystopias.pptx
Wellbeing inclusion and digital dystopias.pptx
 
UGC NET Paper 1 Mathematical Reasoning & Aptitude.pdf
UGC NET Paper 1 Mathematical Reasoning & Aptitude.pdfUGC NET Paper 1 Mathematical Reasoning & Aptitude.pdf
UGC NET Paper 1 Mathematical Reasoning & Aptitude.pdf
 
How to Add New Custom Addons Path in Odoo 17
How to Add New Custom Addons Path in Odoo 17How to Add New Custom Addons Path in Odoo 17
How to Add New Custom Addons Path in Odoo 17
 
Fostering Friendships - Enhancing Social Bonds in the Classroom
Fostering Friendships - Enhancing Social Bonds  in the ClassroomFostering Friendships - Enhancing Social Bonds  in the Classroom
Fostering Friendships - Enhancing Social Bonds in the Classroom
 
21st_Century_Skills_Framework_Final_Presentation_2.pptx
21st_Century_Skills_Framework_Final_Presentation_2.pptx21st_Century_Skills_Framework_Final_Presentation_2.pptx
21st_Century_Skills_Framework_Final_Presentation_2.pptx
 
Tatlong Kwento ni Lola basyang-1.pdf arts
Tatlong Kwento ni Lola basyang-1.pdf artsTatlong Kwento ni Lola basyang-1.pdf arts
Tatlong Kwento ni Lola basyang-1.pdf arts
 
ICT role in 21st century education and it's challenges.
ICT role in 21st century education and it's challenges.ICT role in 21st century education and it's challenges.
ICT role in 21st century education and it's challenges.
 
Sociology 101 Demonstration of Learning Exhibit
Sociology 101 Demonstration of Learning ExhibitSociology 101 Demonstration of Learning Exhibit
Sociology 101 Demonstration of Learning Exhibit
 
OSCM Unit 2_Operations Processes & Systems
OSCM Unit 2_Operations Processes & SystemsOSCM Unit 2_Operations Processes & Systems
OSCM Unit 2_Operations Processes & Systems
 
Kodo Millet PPT made by Ghanshyam bairwa college of Agriculture kumher bhara...
Kodo Millet  PPT made by Ghanshyam bairwa college of Agriculture kumher bhara...Kodo Millet  PPT made by Ghanshyam bairwa college of Agriculture kumher bhara...
Kodo Millet PPT made by Ghanshyam bairwa college of Agriculture kumher bhara...
 
Basic Civil Engineering first year Notes- Chapter 4 Building.pptx
Basic Civil Engineering first year Notes- Chapter 4 Building.pptxBasic Civil Engineering first year Notes- Chapter 4 Building.pptx
Basic Civil Engineering first year Notes- Chapter 4 Building.pptx
 

please help implement the following in C. below are instructions and.pdf

  • 1. please help implement the following in C. below are instructions and partial code below that, step one is completed in the image. double getMean(const int *arr, int size) { //TODO: implement } int getMin(const int *arr, int size) { //TODO: implement } int getIndexOfMin(const int *arr, int size) { //TODO: implement } int getMax(const int *arr, int size) { //TODO: implement } int getIndexOfMax(const int *arr, int size) { //TODO: implement } int * filterThreshold(const int *arr, int size, int threshold, int *resultSize) { //TODO: implement } int **createMultiplicationTable(int n, int m) { //TODO: implement } 1. Write documentation in the array_util.h file in your own words so you have an understanding of what it does. 2. Implement the function in the array_util.c file. 3. Test your function in the arrayMain.c file to verify it works. Look for ways to make your life easier: some functions may be able to utilize others. - double getMean(const int *arr, int size) - computes the average of elements in arr - int getmin (const int *arr, int size) - returns the minimum element in arr - int getindexofmin(const int *arr, int size) - returns the index of the the minimum element in arr - int getmax(const int *arr, int size) - returns the maximum element in arr - int getIndexofmax (const int *arr, int size) - returns the index of the the maximum element in arr - int * filterthreshold(const int *arr, int size, int threshold, int *resultsize) - creates and returns a new array that contains elements in arr that are greater than or equal to threshold. The size of the returned array is communicated through the pass-by-reference variable, resultSize. For example, if we pass the array [10,5,32,8,7, 28,15,12] with threshold =10 then the returned array should be
  • 2. [10,32,28,15,12] and the resultSize would be set to 5 . - int **createMultiplicationTable (int n, int m ) - creates and returns a new (nx m) 2-D array that contains the values in a multiplication table. For example, if n=3,m= 5 then the result should look like: