Basic Program To add Two Strings, Print it and its Length

REM ADD TWO STRINGS PRINT IT AND ITS LENGTH
CLS
10 LET A$ = “MICRO”
20 LET B$ = “COMPUTER”
40 GOSUB 100
50 PRINT C$
60 PRINT D
70 END
100 C$ = A$ + B$
120 D = LEN(C$)
130 RETURN

Please follow and like us:

Leave a comment