Simple Phone directory system without using structure/Classes in c++
Telephone Directory System #include<iostream>//headerfile #include<string>//headerfile using namespace std; int top = 0;//globle variable //functions void addPhone(string *N,string *Ad,string *No,int *ID,int size) { if (top >= size){ cout << "We cannot add more Data there" << endl; } else{ cout << "Enter the ID:"; cin >> ID[top]; cin.ignore(); cout << "Enter the phone number:"; getline(cin, No[top]); cout << "Enter the Name:"; getline(cin, N[top]); cout << "Enter the Address:"; getline(cin, Ad[top]); top++; } } void Modify(string *N, string *Ad, string *No, int *ID, int size) { int count = 0; int id; cout << "Enter the number to Modify" << endl; cin >> id; for (int i = 0; i < top; i++){ if (ID[i] == id){ cout << "Enter the ID:"; cin >> ID[i]; cin.ignore(...