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

Here is the question.- Write a program that has an array of at least 10 string o

ID: 3615064 • Letter: H

Question

Here is the question.-

Write a program that has an array of at least 10 string objectsthat hold people's phone numbers. You may make up your own stringsor use the following(PLEASE USE THESE):
"Becky Warren, 678-1223"
"Jeo Looney, 586-0097"
"Geri Palmer, 223-8787"
"Lynn presnell, 887-1212" "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, 486-2783"
The program should ask the user to enter a name or partial name tosearch for in the Array. Any entries in the array that match thestring entered should be displayed. For example, if the userenters" Palmer" the program should display the following names fromthe list:
"Geri Palmer, 223-8787"
"Ron Palmer, 486-2783" Here is the question.-

Write a program that has an array of at least 10 string objectsthat hold people's phone numbers. You may make up your own stringsor use the following(PLEASE USE THESE):
"Becky Warren, 678-1223"
"Jeo Looney, 586-0097"
"Geri Palmer, 223-8787"
"Lynn presnell, 887-1212" "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, 486-2783"
The program should ask the user to enter a name or partial name tosearch for in the Array. Any entries in the array that match thestring entered should be displayed. For example, if the userenters" Palmer" the program should display the following names fromthe list:
"Geri Palmer, 223-8787"
"Ron Palmer, 486-2783"

Explanation / Answer

please rate - thanks #include #include #include using namespace std; string toUpper(string); int main() {int num=11,count=0,i,n; string::size_type found; string name,temp,temp2; string phone[]={"Becky Warren, 678-1223","Jeo Looney,586-0097",                   "Geri Palmer, 223-8787","Lynn presnell, 887-1212",                   "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, 486-2783"}; cout