Question: Write a javascript program that asks the user for Pos magic numbers. The magic numbers must be stored in an array . (-10 points if

Write a javascript program that asks the user for Pos magic numbers.

The magic numbers must be stored in an array. (-10 points if not in array)

The program needs to calculate the sum of all numbers, the largest and the smallest number, and the mean (average) of the numbers (from the array). (8 points)

The program needs to count the number of magic numbers that are bigger than the mean number (from the array). (3 points)

The program needs to count the number of magic numbers that are smaller than the mean number (from the array).

webpage should follow examples below

Initial page

Write a javascript program that asks the user for Pos magic numbers.example input:

The magic numbers must be stored in an array. (-10 points if

not in array) The program needs to calculate the sum of all

numbers, the largest and the smallest number, and the mean (average) of

the numbers (from the array). (8 points) The program needs to count

the number of magic numbers that are bigger than the mean number

OUTPUT

(from the array). (3 points) The program needs to count the number

Richard Ricardo's Kung Fu Panda Po Magic Array Enter Po's magic numbers, it will be stored in Richard's Array. Enter Po's Numbers

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock 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 Databases Questions!