Question: Looking for help with the Minimum and Maximum part of this code... .js file with the following functions: average, minimum, maximum. All functions will take

Looking for help with the Minimum and Maximum part of this code...

  1.  .js file with the following functions: average, minimum, maximum. All functions will take an array as an input and the calculated value (average, minimum and maximum) as an output. You need to return these values from the functions.
  2. a HTML file with one text box and three buttons for Average, Minimum and Maximum. The user will input numbers with spaces in the text box. After the buttons are pressed, you need to show the average/minimum/maximum value in the output div.

Here's the codes that I have so far.  https://docs.google.com/document/d/1LhbQTlK-uZxUNr7txhlWIysMj9lfizpA5ig1A7z69dk/edit?usp=sharing

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock

Task 1 Sure Here is an example of how you can create a JavaScript file with functions that calculate the average minimum and maximum values of an arra... View full answer

blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Programming Questions!