Introduction to Programming Languages CECS1 Introduction to Programming Languages CECS1 Introduction to Programming Languages CECS1

Introduction to Programming Languages CECS1 Introduction to Programming Languages CECS1 Introduction to Programming Languages CECS1 Introduction to Programming Languages CECS1 Introduction to Programming Languages CECS1 Introduction to Programming Languages CECS1 Introduction to Programming Languages CECS1 Introduction to Programming Languages CECS1 Introduction to Programming Languages CECS1 Introduction to Programming Languages CECS1 Introduction to Programming Languages CECS1 Introduction to Programming Languages CECS121 Lab #6. Programming assignment (100 pts): Write a program that uses an array of structures to hold contact information for your friends. The program should allow the user to enter as many friends as the user wants. Create functions to add or delete entries in the phone book and to print valid phone book entries. Do not display phone book entries that are invalid or NULL (0). You can assume that all people have unique names. Make sure you allocate and free memory as necessary. Output example: Phone Book Application 1) Add friend 2) Delete friend 3) Show phone book What do you want to do: 1 First name: Bob Last name: Smith Phone number: 123-4567 Record added to the phone book Phone Book Application 1) Add friend 2) Delete friend 3) Show phone book What do you want to do: 1 First name: John Last name: Doe Phone number: 893-4567 Record added to the phone book Phone Book Application 1) Add friend 2) Delete friend 3) Show phone book What do you want to do: 3 Phone Book Entries: Bob Smith 123-4567 John Doe 893-4567 Dr. Roman V. Yampolskiy CECS-121 Phone Book Application 1) Add friend 2) Delete friend 3) Show phone book What do you want to do: 2 First name: John Last name: Doe Record deleted from the phone book Phone Book Application 1) Add friend 2) Delete friend 3) Show phone book What do you want to do: 3 Phone Book Entries: Bob Smith 123-4567