10 input a

20 let s=0
30 let x=1
40 let d=x+1
50 let b=(-1)^d
55 let c=2*x-1
70 let z=b/c
80 let a=a-1
90 let x=x+1
100 let s=s+z
110 if a=0 goto 130
120 goto 40
130 print 4*s

Sign up to vote on this title
UsefulNot useful