Computer Science, asked by naseemchoudhary18, 3 months ago

Write a program using function with Return Type and with Parameter to print out all

Palindrome numbers between 501 and 550.​

Answers

Answered by vksvishal416
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