If necessary, create a new project named Advanced26 Project and save it in the Cpp8Chap14 folder. Also

Question:

If necessary, create a new project named Advanced26 Project and save it in the Cpp8\Chap14 folder. Also create a new source file named Advanced26.cpp. Write a program that allows the user to record the names of cities and their corresponding ZIP codes in a sequential access file named Advanced26.txt. The program should also allow the user to look up a ZIP code in the file and display the name of its corresponding city. If the ZIP code is not in the file, the program should display an appropriate message. Save and then run the program. Enter any five ZIP codes and their corresponding city names. Then, test the program by entering each valid ZIP code. Also enter one or more invalid ZIP codes.

Fantastic news! We've Found the answer you've been seeking!

Step by Step Answer:

Question Posted: