Question: Question 3 Write a program that prompt the user for his or her birthdate in the form of a 4 digit number. If the person
Question 3 Write a program that prompt the user for his or her birthdate in the form of a 4 digit number. If the person birthdate is 28 of February, then she or he must enter as 2802 (a single 4-digit integer number). Sum the digits and display the message " Your lucky number is an even number" or "Your lucky number is an odd number" based on the sum. Use the conditional operator to check if it is an even or odd number
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
