Write a program that builds a small database of friends’ addresses and phone numbers by using the type definitions and declarations in this chapter. The program should prompt the user for information...


Write a program that builds a small database of friends’ addresses and phone numbers by using the type definitions and declarations in this chapter. The program


should prompt the user for information about each entry, keep the entries in an array, and write the whole database to a file when the program is terminated. The


following statements from Chapter 11 should be of interest:


The open statement establishes that any operations using input/output unit 19 will


refer to the file named “pfile”. “replace” indicates that a new file is to be built, replacing any existing file with the same name. “keep” indicates that the file is to be


kept when the program that builds the database stops.



May 26, 2022
SOLUTION.PDF

Get Answer To This Question

Related Questions & Answers

More Questions »

Submit New Assignment

Copy and Paste Your Assignment Here