0

Number Analysis Program

Number Analysis Program Design and implement a program that asks the user to enter a series of 20 numbers. The program should store the numbers in an array and then display the following data: The lowest number in the array The highest number in the array The total of the numbers in the array The average of the numbers in the array function number20() { var array20numbers =[20]; var counter= 0; while (counter<21){ var input= prompt("enter a number"); array20numbers[counter]= input; counter++; } for(i= 0; i< array20numbers.length; i++) { document.write("<p> " + array20numbers[i]+ "</p>"); } }; var array20numbers =[20]; var counter= 0; while (counter<21){ index++ if else counter++; } for(i= 0; i< array20numbers.length; i++) { document.write("<p> " + array20numbers[i]+ "</p>"); } Im stuck from here

28th Aug 2018, 8:55 AM
gobins e
gobins e - avatar
1 Réponse
+ 1
ok Jay Matthews, is in there. thanks
28th Aug 2018, 10:15 PM
gobins e
gobins e - avatar