Levels Tought:
Elementary,Middle School,High School,College,University,PHD
Teaching Since: | May 2017 |
Last Sign in: | 307 Weeks Ago, 3 Days Ago |
Questions Answered: | 66690 |
Tutorials Posted: | 66688 |
MCS,PHD
Argosy University/ Phoniex University/
Nov-2005 - Oct-2011
Professor
Phoniex University
Oct-2001 - Nov-2016
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.
Hel-----------lo -----------Sir-----------/Ma-----------dam-----------Tha-----------nk -----------You----------- fo-----------r u-----------sin-----------g o-----------ur -----------web-----------sit-----------e a-----------nd -----------and----------- ac-----------qui-----------sit-----------ion----------- of----------- my----------- po-----------ste-----------d s-----------olu-----------tio-----------n.P-----------lea-----------se -----------pin-----------g m-----------e o-----------n c-----------hat----------- I -----------am -----------onl-----------ine----------- or----------- in-----------box----------- me----------- a -----------mes-----------sag-----------e I----------- wi-----------ll