Any table in GWBasic

10 CLS
20 INPUT "Which table do you want to learn ";t
30 INPUT "Where to start ";s
40 INPUT "Where to end ";e
50 CLS
60 Print "Table of ";t
70 Print "-------------"
80 Print t;"x";s;"=";t*s
90 let s=s+1
100 is s<=e then goto 80 else goto 110
110 Print "-------------"
120 end
Share on Google Plus

About Rana Mehtab Alam

    Blogger Comment
    Facebook Comment

0 comments:

Post a Comment