Question: Write a javascript program that asks the user to enter up to 10 golf scores, which are to be stored in an array. You should
Write a javascript program that asks the user to enter up to 10 golf scores, which are to be stored in an array. You should provide a means for the user to terminate input prior to entering 10 scores. The program should display all the scores on one line and report the average score. Handle input, display, and the average calculation with three separate array processing functions.
Step by Step Solution
3.51 Rating (148 Votes )
There are 3 Steps involved in it
function getScores var scores forvar i0i 10i score... View full answer
Get step-by-step solutions from verified subject matter experts
