#CJam, 10 programs, 1 byte
CJam, 10 programs, 1 byte
I thought I'd better add this right off the bat before someone else gets cheeky and does it :P
0
A CJam program with just a plain number outputs that number, so this is an easy way to get 10 programs that work, namely:
0
, 1
, 2
, 3
, 4
, 5
, 6
, 7
, 8
, and 9
.
The next program :
unsurprisingly does not output 10
but gives an "unfinished operator" error.
This undoubtedly works in many languages.