I Haz Codes

Exact matches only
Search in title
Search in content
Search in posts
Search in pages
Which test was the best?
Name Test 1 Test 2 Test 3
Sally 5 9 4
Sakina 1 8 6
Terry 8 4 1
Rob 9 9 9
Daisy 7 8 4

An array of test score data has been represented as a table. Each test score can have its average calculated by adding up the data for that test only.

Write a program that will ask for a test number and then display the average for that test only.

You need to log in or create an account to submit code!

Comments are closed.