Write a JavaScript program to calculate the average score of the following students. This average score is then used to determine the category.
| Student | Score |
|---|---|
| David | 80 |
| Vinoth | 77 |
| Divya | 88 |
| Ishitha | 95 |
| Thomas | 68 |
Define the type as follows:
| Conditions | Type |
|---|---|
| <60 | F |
| <70 | D |
| <80 | C |
| <90 | B |
| <100 | A |
Example:

Source code:
<html>
<head>
Compute the average marks and grade
</head>
<body>
</body>
</html>
Algorithm flow chart:

Did you find this article helpful?
Support the author so they can write more quality articles!