Starting Out with Programming Logic and Design (5th Edition) (What's New in Computer Science)
Starting Out with Programming Logic and Design (5th Edition) (What's New in Computer Science)
5th Edition
ISBN: 9780134801155
Author: Tony Gaddis
Publisher: PEARSON
bartleby

Videos

Textbook Question
Book Icon
Chapter 11, Problem 6PE

Phone Book Program

Design a program that you can use to keep all of your friends’ names and phone numbers in a file. The program should be menu-driven, and offer the following operations:

  1. 1. Add a new record
  2. 2. Search for a name.
  3. 3. Modify a phone number.
  4. 4. Delete a record.
  5. 5. Exit the program.
Blurred answer
Students have asked these similar questions
C++Inventory Program Write a program that uses a structure to store the following inventory data in a file: Item Description Quantity on Hand Wholesale Cost Retail Cost Date Added to Inventory The program should have a menu that allows the user to perform the following tasks: •             Add new records to the file. •             Display any record in the file. •             Change any record in the file. Input Validation: The program should not accept quantities, or wholesale or retail costs, less than 0.The program should not accept dates that the programmer determines are unreasonable.
Prog 1.  File Encryption:  File encryption is the science of writing the contents of a file in a secret code.   Your encryption program should work like a filter reading the contents of one file, modifying each character in the input file into a code, and then writing the coded characters out to a second file.  The second file will be a version of the first file but written in a secret code. In Notepad or something similar, you will create a file with text in it.  It should be several lines long.  Your program should read the file character by character and make some change to the character before writing that character to a second new encrypted file.     See program 13-8 to see how to read and write one character at a time. You may come up with an encryption technique of your own or use something simple like adding 10 to the ASCII code of each character in the file before it is written to the second file.
A __________ object is an object that is associated with a specific file and provides a way for the program to work with that file. a. data b. directory c. stream d. file

Chapter 11 Solutions

Starting Out with Programming Logic and Design (5th Edition) (What's New in Computer Science)

Additional Engineering Textbook Solutions

Find more solutions based on key concepts
Knowledge Booster
Background pattern image
Computer Science
Learn more about
Need a deep-dive on the concept behind this application? Look no further. Learn more about this topic, computer-science and related others by exploring similar questions and additional content below.
Similar questions
SEE MORE QUESTIONS
Recommended textbooks for you
Text book image
Programming Logic & Design Comprehensive
Computer Science
ISBN:9781337669405
Author:FARRELL
Publisher:Cengage
Text book image
Microsoft Visual C#
Computer Science
ISBN:9781337102100
Author:Joyce, Farrell.
Publisher:Cengage Learning,
Graphical User Interfaces: Crash Course Computer Science #26; Author: CrashCourse;https://www.youtube.com/watch?v=XIGSJshYb90;License: Standard YouTube License, CC-BY
Python GUI | How To Make A GUI In Python | Best GUI Framework In Python | Edureka; Author: edureka!;https://www.youtube.com/watch?v=_PHJvjQJa3w;License: Standard Youtube License