*** empty log message ***
This commit is contained in:
10
lang/basic/test/opg4.b
Normal file
10
lang/basic/test/opg4.b
Normal file
@@ -0,0 +1,10 @@
|
||||
010 rem values of n using for loop (52)
|
||||
020 print "n","n2","n3","1/n","square root"
|
||||
030 for n=1 to 20
|
||||
040 let n2= n*n
|
||||
050 let n3= n*n*n
|
||||
060 let r= 1/n
|
||||
070 let s= n^ .5
|
||||
080 print n,n2,n3,r,s
|
||||
090 next n
|
||||
120 end
|
||||
Reference in New Issue
Block a user