Write a program that enables the user to input name, address, and local phone number, including area
Question:
Write a program that enables the user to input name, address, and local phone number, including area code. Encourage the user to include dashes between the numbers (i.e. xxx-xxx-xxxx) when they type in the value. Once retrieved, store the values in a text file. For the phone, surround the phone numbers with asterisks in the file and store only the numbers for the phone number. Do not store the hyphens or dashes in the file. Include appropriate exception-handling techniques with your solution. After storing the name, address, and phone number, display a message indicating the data was stored properly. Use Notepad to view the contents.
Fantastic news! We've Found the answer you've been seeking!
Step by Step Answer:
Related Book For
C# Programming From Problem Analysis To Program Design
ISBN: 9781285856872
5th Edition
Authors: Barbara Doyle
Question Posted: