Rugby+Points

Write a program which takes in as input:

1. The number of games a rugby team has played

2. A list of the number of points scored in each game.

It then gives as output the total number of points scored by the team.

The screen layout should look like this:



Notice that each of the scores is separated by an asterisk (*). We can use the command NthField to get a particular score e.g.

score = NthField(ListOfScores, "*", 1) would give score as 27 score = NthField(ListOfScores, "*", 4) would give score as 44