Create a webpage that computes the average score of two games.
It should:
- Prompt for the name of the team
- Prompt for the score of the first game
- Prompt for the score of the second game
- Print the team name in an h1 header
- Print the scores of the games
- Print the average of the two scores. (The average has to be computed in the program)
These can be done in any order as long as the output looks something like the one below (and the average is correct).
An example output after all the prompts could look like:
UNC
In the first game UNC had a score of 40 points.
In the second game UNC had a score of 12 points.
The average score was 26.