File size: 150 Bytes
a2a15a2
 
 
 
 
 
1
2
3
4
5
6
7
10 REM "Function definitions"
20 REM ""
100 DEF FNS(X)=X*X
200 INPUT "Input a number: ", N
210 PRINT "The square of the number is: "; FN S(N)
220 END