Computer Science, asked by ishikashinde2006, 2 months ago

Write a program in JavaScript to accept three subjects and then find the sum and average

Answers

Answered by Anonymous
12

Just iterate through the array, since your values are strings, they have to be converted to an integer first. And average is just the sum of values divided by the number of values.

Similar questions