Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Work No group WOIK is accepted. Stick to deadlines! Late assignments will not be accepted Upload your solution on PSUT E-Learning system, do not send

image text in transcribedimage text in transcribed

Work No group WOIK 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: run A2 Enter three characters: MSA Sex: Male PSUT Princess Sumaya University for Technology King Talal School of Business Technology Department of Business Information Technology > run A2 fJN 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 0

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Programming The Perl DBI Database Programming With Perl

Authors: Tim Bunce, Alligator Descartes

1st Edition

1565926994, 978-1565926998

More Books

Students also viewed these Databases questions

Question

Compare and contrast cultural preferences for online privacy

Answered: 1 week ago

Question

LO1 Explain how the workforce is changing in unpredicted ways.

Answered: 1 week ago

Question

LO6 List the components of job descriptions.

Answered: 1 week ago