write a program to find all palindrome number from 1 to 500
please help me
Answers
Answered by
1
Answer:
Generate all palindromic numbers less than n.
Find all numbers less than n, which are palindromic. Numbers can be printed in any order.
Examples :
Input : n = 12 Output : 1, 2, 3, 4, 5, 6, 7, 8, 9, 11 Input : n = 104 Output : 1, 2, 3, 4, 5, 6, 7, 8, 9, 11, 22, 33, 44, 55, 66, 77, 88, 99, 101 [Note that below program prints these numbers in different order]
Explanation:
plz mark in braniliest plz
Similar questions