The task you have to perform is “The Next Palindrome.” This task consists of a total of 15 points to evaluate your performance.
A palindrome is a string that, when reversed, is equal to itself. Example of the palindrome includes:
676, 616, mom, 100001.
You have to take a number as an input from the user. You have to find the next palindrome corresponding to that number. Your first input should be the number of test cases and then take all the cases as input from the user.
Next palindrome for 451 is 454
Next palindrome for 10 is 11
Next palindrome for 2311 is 2222
These tasks will improve your logic making skills and logic is the basics of programming. The solution is discussed in tutorial#110.
No downloadable resources for this video. If you think you need anything, please post it in the QnA!
Any Course related announcements will be posted here