It's not whether you get knocked down, it's whether you get up."

Wednesday, 2 October 2019

Wap to display plaindrome or not

CLS
INPUT "Enter any number"; N
A = N
S = 0
WHILE N <> 0
    R = N MOD 10
    S = S * 10 + R
    N = N \ 10
WEND
IF A = S THEN
    PRINT  " palindrome"
ELSE
    PRINT  " not palindrome"
END IF
END
Posted by Sahiljayswal2076.blogspot.com at 23:08
Email ThisBlogThis!Share to XShare to FacebookShare to Pinterest

No comments:

Post a Comment

Newer Post Older Post Home
Subscribe to: Post Comments (Atom)

About Me

Sahiljayswal2076.blogspot.com
View my complete profile

Blog Archive

  • ►  2020 (4)
    • ►  September (1)
    • ►  August (2)
    • ►  January (1)
  • ▼  2019 (29)
    • ▼  October (18)
      • WAP TO DISPLAY 1,12,123,1234,12345
      • WAP TO DISPLAY 1,11,111,1111,11111
      • WAP TO DISPLAY 1,22,333,4444,55555
      • WAP TO DISPLAY 5,10,15,20.......1OTHTERM
      • WAP TO DISPLAY 1,4,9,16..........10th term
      • wap to display 1,1,2,3,5,8.........10th term
      • Wap to display multiplication table
      • Wap to display factorial
      • Wap to display factor
      • Wap to display prime or composite
      • Wap to display armstrong or not
      • Wap to display plaindrome or not
      • Wap to display reserve digits
      • Wap to display product of digits
      • Wap to display sum of digits
      • Wap to display greatest among three number
      • Wap to display odd or even
      • Wap to display positive,negative or zero
    • ►  September (9)
    • ►  June (1)
    • ►  May (1)
Travel theme. Powered by Blogger.