home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Ahoy 1985 October
/
Ahoy_Magazine_85-10_1985_Double_L.d64
/
cd22-7
(
.txt
)
< prev
next >
Wrap
Commodore BASIC
|
2022-10-26
|
232b
|
10 lines
1 rem << cd22-7 >>
2 rem
3 rem solution to problem #18-4 :
4 rem letter math
5 rem by don maloney
6 rem
10 for x=0to9:for y=0to9:for z=1to9
20 if x+x*10+y*100=x*100+y*10+z+z*10+y+x then print"x, y, z = ";x;y;z
30 next z : next y : next x