Home Computer Weekly, March 29 1983, page 13
SPECTRUM PROGRAM
On Your Marks ... A Spectrum scoreboard

 Ideal for sports events, Dave Judson's Spectrum program
works out results fast.

Organisers of sports days will find  my program useful to work out
individual performance marks for events like gymnastics, skating and
diving.    Written for the 16K Spectrum, it asks for the marks for two
categories of grading - artistic merit and technical ability.   It
discounts the highest and lowest marks in each category and  calculates
an average of the marks  remaining. Finally it produces the
contestant's marks.

There are several options for developing the program. The marks for
each candidate  could be stored and an up-to-date position table
produced on request.       The Spectrum's sound or graphics abilities
might be used to  celebrate a perfect score ... or mourn a poor one.

     Variables used:
j	number of judges
s	score running total
a(j)	artistic merit array
t(j)	technical ability array
Z1	artistic merit - average score of marks awarded after excluding
	highest and lowest,
Z2	as Z1 but for technical ability.

How it works
Lines	10-50	: program introduction and setting up of number of judges
	80-130	: collect marks for artistic merit
	140-230	: sort marks, excluding highest and lowest, and calculate
		  average of remainder.
	250-390	: as 80-230, but for technical ability.
	400-420	: give two category scores and total them
