Wednesday, September 19, 2018

Q basic to count the total number of digit

CLS
INPUT "Enter any number";N
C=0
WHILE N <>0
R=NMOD 10
C=C+1
N=N\10
WEND
PRINT"Count total no.of digi=";C
END

No comments:

Post a Comment

Journey with jagat mandir

        My journey with Jagat Mandir School My first day and my first step in jagat mandir was on 2067. On the first day I came with my ...