Question: Write the source code that corresponds to the pseudocode Loop Programs 1 . THIS MENU DOES NOT HAVE AN EXIT CHOICE Write a program that

Write the source code that corresponds to the pseudocode
Loop Programs
1. THIS MENU DOES NOT HAVE AN EXIT CHOICE
Write a program that prompts the user for a choice from the following me:
Did you fill out a financial aid application?
1) Yes
2) No
Input Validation: The user must enter a 1 or 2.
Pseudocode:
Declare variables
String financialAid
financialAid =
while financialAid !=1 and financialAid !=2:
Display menu
Did you fill out a financial aid application?
1) Yes
2) No
Prompt for financialAid
if financialAid ==1:
Display Congrats, your application is complete!
elif financialAid ==2:
Display You must fill out an application
else:
Display Invalid. You must choose 1 or 2 from menu.

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!