Question: Design a program that prompts the user to create a name and address file from a name, street address, city, state, and zip code entered.

Design a program that prompts the user to create a name and address file from a name, street address, city, state, and zip code entered. You should create the name and address file on a drive with a removable disk. Check for output failure in case the user does not have access to the drive (for example, if the disk is not inserted in the drive). If output failure occurs, display a message indicating the problem; otherwise, display a message indicating that the program ended successfully

The following is a copy of the screen results that might display after running your program, depending on the data entered.

---------------------------------------------------------------------------------

Cannot open output file. The program terminates.

--------------------------------------------------------------------------------------

Please enter a name: Judy Shaffer

Please enter a street address: 774 S. Main St.

Please enter a city, state, and zip code: Austin, Texas 78736

Your program ended successfully.

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 Databases Questions!