Create a .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. Create 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.

Programming with Microsoft Visual Basic 2017
8th Edition
ISBN:9781337102124
Author:Diane Zak
Publisher:Diane Zak
Chapter8: Arrays
Section: Chapter Questions
Problem 12RQ
icon
Related questions
Question

HTML CODE!

Tasks:

Create a .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.

Create 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. 

Expert Solution
trending now

Trending now

This is a popular solution!

steps

Step by step

Solved in 3 steps with 3 images

Blurred answer
Knowledge Booster
Study of Characters
Learn more about
Need a deep-dive on the concept behind this application? Look no further. Learn more about this topic, computer-science and related others by exploring similar questions and additional content below.
Similar questions
  • SEE MORE QUESTIONS
Recommended textbooks for you
Programming with Microsoft Visual Basic 2017
Programming with Microsoft Visual Basic 2017
Computer Science
ISBN:
9781337102124
Author:
Diane Zak
Publisher:
Cengage Learning
Np Ms Office 365/Excel 2016 I Ntermed
Np Ms Office 365/Excel 2016 I Ntermed
Computer Science
ISBN:
9781337508841
Author:
Carey
Publisher:
Cengage
Microsoft Visual C#
Microsoft Visual C#
Computer Science
ISBN:
9781337102100
Author:
Joyce, Farrell.
Publisher:
Cengage Learning,