+ 2
How do we use array to get 5 values from the user and find their percentage in javascript
How do we use array to get 5 values from the user and find their percentage in javascript. Your help will be good
2 Answers
+ 1
Use prompt to take the value, push it into an array, then take the sum and divide it by the length.
There you go:
https://code.sololearn.com/W22MO6edPuqe/?ref=app
+ 2
Thanks đ