Menu

[solved]-Write Function Takes Array Ints Size Array Another Int Also Returns Double Call One Averag Q39015370

  1. Write a function that takes an array of ints, and the size ofthe array – another int.  It also returns adouble.  Call this one ‘average.’  Return adouble that is the average of the values in thearray.  Demonstrate that it works by finding the averageof an array with these values {78, 90, 56, 99, 88, 68, 92}
  2. Write a function that takes one double parameter, and returns achar.  The parameter represents a grade, and the charrepresents the corresponding letter grade. If you pass in 90, thechar returned will be ‘A’.  If you pass in 58.67, thechar returned will be an ‘F’ etc.  Use the grading schemeon the syllabus for this course to decide what letter toreturn.
  3. Write a function that takes 3 int arguments andreturnsthe largest of the 3.

C language only

Expert Answer


Answer to Write a function that takes an array of ints, and the size of the array – another int. It also returns a double. Call… . . .

OR


Leave a Reply

Your email address will not be published. Required fields are marked *