Write a program using function with Return Type and with Parameter to print out all
Palindrome numbers between 501 and 550.
Answers
Answered by
1
Answer:
Given a range of numbers, print all palindromes in the given range. For example if the given range is {10, 115}, then output should be {11, 22, 33, 44, 55, 66, 77, 88, 99, 101, 111}
We can run a loop from min to max and check every number for palindrome. If number is palindrome, we can simply print it.
Similar questions
Social Sciences,
2 months ago
English,
2 months ago
Math,
5 months ago
Computer Science,
10 months ago
Social Sciences,
10 months ago