Took me five years to discover how to get a computer to divide by zero (something they cannot do (until now!)) :-D It was unpaid work but definitely worth the effort. I do not have a degree but my work with computers is done on a calculator. Early computers were so and my philosophy towards this work (and everything else) is based on the Berkofsky principle: persevering through EVERY possible combination will eventually provide the correct answer. It has to be one of them, right?
My solar powered Casio is capable of dealing with X and provides results as so:
X-F(X)
0-
1-
2-
3-
With regards to the Berkofsky principle I concluded that ALL mathematics is done using ONLY four operators:
"+*-/"
(Plus Multiplication Minus Division)
A fifth operator May include "="
(Equals)
Conclusively the program I wrote was as such:
A(B)=C+D*E-F/G
1<=B<=24
1<=C<=10
1<=D<=10
1<=E<=10
1<=F<=10
1<=G<=10
A simpler version may be achieved manually by assigning a number to each operator (1,2,3,4)
and multiplying them:
1*2*3*4
which gives the return code of 24 (proving ALL combinations have been achieved.)
Other version may include:
+10*10*10*10
Currently I am writing REAL world programs by simply writing the program on paper (instead of using a computer!)
For example:
A+B*C-D/E
1<=A>=B>=C>=E<=10