It's not whether you get knocked down, it's whether you get up."
Wednesday, 2 October 2019
Wap to display reserve digits
CLS
INPUT "Enter any digit"; n
WHILE n <> 0
r = n MOD 10
s = s * 10 + r
n = n \ 10
WEND
PRINT "Reversed digits is "; s
END
No comments:
Post a Comment
Newer Post
Older Post
Home
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment