A QBasic Program For Programmers
CLS
N$="KATHMANDU"
A=LEN(N$)
PRINT N$
FOR I = 1 TO 5
C$=MID$(N$,I+1,A-(I*2))
PRINT TAB (I+1) ;C$
NEXT I
END
CLS
N$="KATHMANDU"
A=LEN(N$)
PRINT N$
FOR I = 1 TO 5
C$=MID$(N$,I+1,A-(I*2))
PRINT TAB (I+1) ;C$
NEXT I
END
Congratulations @sujanodari! You received a personal award!
You can view your badges on your Steem Board and compare to others on the Steem Ranking
Vote for @Steemitboard as a witness to get one more award and increased upvotes!