Skip to main content

Example of Backward jump in GW basic Q Basic / write a program to print the series of 1,4,9,16,25,36,49,........

10 let x=1
20 let =x*x
30 print y
40 let x=x+1
50 goto 20
60 end



--------------------------Output-----------------------------------
1
4
9
16
25
36
49

break in 30

Comments

Popular posts from this blog

Mail merge 1