Computer Science, asked by eshan1904, 5 months ago

WAP in QBASIC check whether a number is palindrome or not ​

Answers

Answered by Anonymous
14

\huge{\underline{\underline{\huge{\bold{AnsweR \: :-}}}}}

  • Let num be the input number. Convert num to string and compare ith character from the start and ith character from last using a loop. If any pair of ith character from the start and ith character from the end are not equal then it means that the number is not a palindrome, set flag = 0.
Answered by Shambhavi708
0

Answer:

None of these two is a palindrome

Explanation:

please see if its correct

Similar questions