Question: Task 3: Project name: PartyAffiliation Main file name: partyAffil.java (This task uses Strings:) A program that prompts the user for their party affiliation (Democrat, Republican,

 Task 3: Project name: PartyAffiliation Main file name: partyAffil.java (This task

Task 3: Project name: PartyAffiliation Main file name: partyAffil.java (This task uses Strings:) A program that prompts the user for their party affiliation (Democrat, Republican, or Independent) and responds accordingly with a Donkey, Elephant, Person, or Other. (i.e. "You get a Democratic Donkey.") Notes: create a menu so the user chooses D, R, or I and assume that any other choice will be Other. This program does not require any input checking. Tests: just the four options D, R, I, Other

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Programming Questions!