A program processes driving licence applications. It asks the applicant for his/her age. If the age is less than 18, a message "You are not old enough" is displayed; else the user is asked to enter their name and a message "Name, your licence application will be processed soon." A message "End of program" is finally displayed, regardless of the age the applicant entered.
Write this program.
Another Driving licence Application program asks for the applicant's age.
If the age is greater than 18, it then asks for the applicant's gender. If the applicant is female, a message "Your application will be processed tomorrow" is displayed, else a message "Your application will be processed next week" will be displayed.
If the age is not greater than 18, a message "You are not old enough" is displayed
Write this program.
An applicant who is allowed to sit the test for the driving licence will achieve a score as a percentage. 90%+ is an A; 80%+ is a B; 70%+ is a C; less than 70% is a FAIL.
Write a program that will take a percentage as a whole number and output the correct grade: A, B, C or FAIL.
Write this program.