Answered step by step
Verified Expert Solution
Question
1 Approved Answer
File of Names The file Names.txt contains a list of first names in alphabetical order. Write a program that requests a name from the user
File of Names The file Names.txt contains a list of first names in alphabetical order. Write a program that requests a name from the user and inserts the name into the file in its proper location. If the name is already in the file, it should not be inserted.
Here are the names in Names.txt
Alan Alfred Allen Allison Anaise Anne Arlen Barbara Bernard Bobbie Bruce Candace Carlos Carol Carolyn Charles Christie Christine Constance Cynthia Dale Dana David Dennis Donald Dorothy Earl Edward Elizabeth Emily Eric Eugene Frank Fred George Grace Greg Harold Helen Hubert Ione Jack Jane Janice Jean Jeff Jenny Joan Joe John Joyce Kathryn Larry Laura Lee Louise Lynn Margy Marie Maris Mark Martin Mary Maureen Melisaa Michael Mitzi Nancy Nathan Nicholas Norman Pam Patricia Paul Peter Phillip Randall Raymond Richard Robert Ruth Sally Sara Scott Shelley Stephen Stuart Susan Terrence Thomas Timothy Troy Valorie Vincent Wendy Wesley William Xavier Zane
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started