public
/
Ack-5.5.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
Pristine Ack-5.5
[Ack-5.5.git]
/
lang
/
basic
/
test
/
opg4.b
1
010 rem values of n using for loop (52)
2
020 print "n","n2","n3","1/n","square root"
3
030 for n=1 to 20
4
040 let n2= n*n
5
050 let n3= n*n*n
6
060 let r= 1/n
7
070 let s= n^ .5
8
080 print n,n2,n3,r,s
9
090 next n
10
120 end