Computer Science, asked by afik37, 1 month ago

wap in GW BASIC to check whether a number is palindrome or not (please give the answer with program)​

Answers

Answered by mayankjangde08
0

Explanation:

WAP to input any number and check whether the given no. is palindrome or not.

WAP to input any number and check whether the given no. is palindrome or not.CLS

WAP to input any number and check whether the given no. is palindrome or not.CLSINPUT "ENTER ANY NUMBER"; N

WAP to input any number and check whether the given no. is palindrome or not.CLSINPUT "ENTER ANY NUMBER"; NA = N

WAP to input any number and check whether the given no. is palindrome or not.CLSINPUT "ENTER ANY NUMBER"; NA = NS = 0

WAP to input any number and check whether the given no. is palindrome or not.CLSINPUT "ENTER ANY NUMBER"; NA = NS = 0WHILE N < > 0

WAP to input any number and check whether the given no. is palindrome or not.CLSINPUT "ENTER ANY NUMBER"; NA = NS = 0WHILE N < > 0R = N MOD 10

WAP to input any number and check whether the given no. is palindrome or not.CLSINPUT "ENTER ANY NUMBER"; NA = NS = 0WHILE N < > 0R = N MOD 10S = S * 10 + R

WAP to input any number and check whether the given no. is palindrome or not.CLSINPUT "ENTER ANY NUMBER"; NA = NS = 0WHILE N < > 0R = N MOD 10S = S * 10 + RN = N \ 10

WAP to input any number and check whether the given no. is palindrome or not.CLSINPUT "ENTER ANY NUMBER"; NA = NS = 0WHILE N < > 0R = N MOD 10S = S * 10 + RN = N \ 10WEND

WAP to input any number and check whether the given no. is palindrome or not.CLSINPUT "ENTER ANY NUMBER"; NA = NS = 0WHILE N < > 0R = N MOD 10S = S * 10 + RN = N \ 10WENDIF A = S THEN

WAP to input any number and check whether the given no. is palindrome or not.CLSINPUT "ENTER ANY NUMBER"; NA = NS = 0WHILE N < > 0R = N MOD 10S = S * 10 + RN = N \ 10WENDIF A = S THENPRINT A; "IS PALINDROME"

WAP to input any number and check whether the given no. is palindrome or not.CLSINPUT "ENTER ANY NUMBER"; NA = NS = 0WHILE N < > 0R = N MOD 10S = S * 10 + RN = N \ 10WENDIF A = S THENPRINT A; "IS PALINDROME"ELSE

WAP to input any number and check whether the given no. is palindrome or not.CLSINPUT "ENTER ANY NUMBER"; NA = NS = 0WHILE N < > 0R = N MOD 10S = S * 10 + RN = N \ 10WENDIF A = S THENPRINT A; "IS PALINDROME"ELSEPRINT A; "IS NOT PALINDROME"

WAP to input any number and check whether the given no. is palindrome or not.CLSINPUT "ENTER ANY NUMBER"; NA = NS = 0WHILE N < > 0R = N MOD 10S = S * 10 + RN = N \ 10WENDIF A = S THENPRINT A; "IS PALINDROME"ELSEPRINT A; "IS NOT PALINDROME"END IF

WAP to input any number and check whether the given no. is palindrome or not.CLSINPUT "ENTER ANY NUMBER"; NA = NS = 0WHILE N < > 0R = N MOD 10S = S * 10 + RN = N \ 10WENDIF A = S THENPRINT A; "IS PALINDROME"ELSEPRINT A; "IS NOT PALINDROME"END IFEND

Similar questions