Question: For this assignment you must do the following tasks: 1) Build a Palindrome number checker for only 3-digit numbers without using loop (Hint: try extracting
For this assignment you must do the following tasks: 1) Build a Palindrome number checker for only 3-digit numbers without using loop (Hint: try extracting out first place and hundred's place): A palindrome number is a number which reads same from either side (10 points) https://www.mathsisfun.com/definitions/palindromic-numbers.html Take a number input from user and find out if the number is palindrome. "Palindrome finder, Enter a number: Output X is a palindrome number. or Y is not a palindrome number. Example 121 is a palindrome number. 123 is not a palindrome number. 2) Build a program which determines if an entered year is a leap year: (10 points) https://www.mathsisfun.com/leap-years.html Take input from user, prompting them like "Leap Year finder, enter a year to continue" A Leap year satisfies 3 conditions. A leap year is divisible by A leap year is not divisible by 100 A leap year is divisible by 400 Output would be like: xxxx is a leap year yyyy is not a leap year. Examples: 2004 is a leap year. 2003 is not a leap year. Include both source files in a single zip
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
