โ Back to Printing
Question 38
Average Score Output
Average Score Output
Create three variables: score1 = 78, score2 = 85, and score3 = 92. Compute the average and print exactly: Average score: 85 Steps: 1. Create the three score variables with the exact values shown 2. Calculate the average using (score1 + score2 + score3) / 3 3. Print the result with console.log() in the format shown
Expected Output:
Average score: 85
Topics:
Printing
Code Editor
1
Tab to indent ยท Ctrl+Enter to run ยท Ctrl+Space to expand shortcuts (clog, fn, fori)
Your Output
Run your code to see the output here...
Test Cases
Run your code to see test case results.