Learn Quick Beginner's All Purpose Symbolic Instruction Code. It is dedicated to all computer students of grade 8 to grade 10 .
Testing Palindrome
CLS
INPUT "Enter string to be tested: ";t$
t$=LCASE$(t$)
FOR I=LEN(t$) TO 1 STEP -1
r$=r$+MID$(t$, I, 1)
NEXT I
IF r$=t$ THEN
PRINT t$; " is Palindrome!"
ELSE
PRINT t$; " is not Palindrome!"
ENDIF
END
its was the most easiest one thanks for it and now you need to post a video on youtube explaining the use of codes with their condition
ReplyDeleteThis comment has been removed by the author.
DeleteThis comment has been removed by the author.
DeleteVery nice and easy.....
ReplyDeleteWAP to input a string and display the initials only
ReplyDeleteNice
ReplyDeleteTq for your help
ReplyDeleteEasy and thanks
ReplyDelete