Question: Write a program that would input an integer number and then indicate whether the number is an even or an odd number. Write a program

Write a program that would input an integer number and then indicate whether the number is an even or an odd number. Write a program that would input the value of variable REPLY and the output in corresponding meaning (see below for the different values and its meaning). Write a program that would input the year and then indicate whether that year is a leap year or not. Write a program that would input a date (numeric month and day only) within 1992 and then indicate whether it is valid data or not. Income tax is computed based on the net taxable income. The income tax table is as follows: Make a program that would input the gross income and tax exemption and then output the tax due. (Net taxable income equals gross income minus tax exemption.) An applicant will be accepted to the Jedi Knight Military Academy if he is at least 200 cm. tall: age is between 21 and 25, inclusive: and a citizen of the Planet, Endor. However, if the applicant is a recommendee of Jedi Master Obi Wan, he is accepted automatically regardless of his height, age and citizenship. Write a program that would input the applicant's height, age, citizenship code ("C" for citizen of Endor, "N" for non-citizen), and recommendee code ("R" for recommendee, "N" for non-recommendee). And then output whether the applicant is accepted or rejected. Write a program that reads in a time of the day in 24-hour notation and output it in a 12-hour notation. For example, if the input is 1345, the output should be 1: 45 PM: if input is 0920, output should be 9: 20 AM. Consider 12: 00 midnight as 12: 00 AM and 12: 00 noon as 12: 00 PM
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
