Academic Integrity: tutoring, explanations, and feedback — we don’t complete graded work or submit on a student’s behalf.

C++ program, please post comments so I can better understand. Thank you in advan

ID: 3763282 • Letter: C

Question

C++ program, please post comments so I can better understand. Thank you in advance. Phone Number List. This program should have an array of at least 10 string objects. The array will hold peoples names and phone numbers. The following list is an example of the data in the array. "Renee Javens, 678-1223", "Joe Looney, 586-0097", "Geri Palmer, 223-8787", "Lynn Presnell, 887-1212", "Bill Wolfe, 223-8878", "Sam Wiggins, 486-0998", "Bob Kain, 586-8712", "Tim Haynes, 586-7676", "John Johnson, 223-9037", "Jean James, 678-4939", "Ron Palmer, 486-2783" The program should ask the user to enter a name or partial name to search for in the array. Any entries in the array that match the string entered should be displayed. For example, if the user enters Palmer the program should display the following names from the list: Geri Palmer, 223-8787 Ron Palmer, 486-2783 NOTE: if the user enters Pal it should produce the same output. please do not include any answers using classes

Explanation / Answer

#include #include #include using namespace std; int main(int argc) { const int size = 50; char name[50]; int count; char list[][50] = {"Becky Warren, 555-1223", "Joe Looney, 555-0097", "Geri Palmer, 555-8787", "Lynn Presnell, 555-8878", "Holly Gaddis, 555-8878", "Sam Wiggins, 555-0998", "Bob Kain, 555-8712", "Tim Haynes, 555-7676", "Warren Gaddis, 555-9037", "Jean James, 555-4939", "Ron Palmer, 555-2783" }; cout
Hire Me For All Your Tutoring Needs
Integrity-first tutoring: clear explanations, guidance, and feedback.
Drop an Email at
drjack9650@gmail.com
Chat Now And Get Quote