Write a JavaScript program to accept 5 numbers and display the average of those numbers.
Answers
Answered by
2
Answer:
public class average
{
public static void main (String str[ ]) {
int a;
int b;
int c;
int d;
int e;
int avg = a + b + c + d + e / 5;
System.out.println ("The average of those numbers are = " + "avg"); }
}
Similar questions
Social Sciences,
4 months ago
Business Studies,
8 months ago
Math,
8 months ago
Social Sciences,
10 months ago
Science,
10 months ago