Question: by java programing Due date: Monday 11th, of January 2021 by 18:00. Work INDIVIDUALLY. No group work is accepted. Stick to deadlines! Late assignments will

Due date: Monday 11th, of January 2021 by 18:00. Work INDIVIDUALLY. No group work is accepted. Stick to deadlines! Late assignments will not be accepted Upload your solution on PSUT E-Learning system, do not send by Email. Write a java program that prompts the users to enter 3 characters and displays the sex, marital status, and continental represented in the characters. The first character indicates the sex, M: Male F: Female The second character indicates the marital status: M: Married S: Single D: Divorced W: Widow The third character indicates the continental: N: North America E: Europe A: Asia F: Africa Here is the sample run: MSA > run A2 Enter three characters: Sex: Male Marital status: Single Continental:Asia IJN > run A2 Enter three characters: Sex: Female Invalid marital status code Continental:North America > run A2 Enter three characters: FDE Sex: Female Marital status: Divorced Continental: Europe
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
