Academic Integrity: tutoring, explanations, and feedback — we don’t complete graded work or submit on a student’s behalf.

Write a C code that have three functions: first function gets 10 integers from u

ID: 3529552 • Letter: W

Question

Write a C code that have three functions: first function gets 10 integers from users and stores into an array, second function finds and returns the largest number in that array third function prints out the values in the array. In main, test it by calling first and second functions then calling third function to print out the largest element.

Pseudo-code of finding the largest integer:

procedure max(a1, a2, ..., an: integers) //this is not a C syntax, you have to use C syntax!

MaxSoFar := a1

for i := 2 to n

begin

if ai > MaxSoFar then MaxSoFar := ai

end

{ MaxSoFar is the largest number in this sequence }


Don't use C++

Explanation / Answer

http://pastebin.com/MSEKKEaw

Hire Me For All Your Tutoring Needs
Integrity-first tutoring: clear explanations, guidance, and feedback.
Drop an Email at
drjack9650@gmail.com
Chat Now And Get Quote