PLEASE HELP separate all implementation of your classes from theheader files. You should have a .cpp file and a .h file for eachclass you create. Here is the code:
#include <iostream>
#include <string>
#include <iomanip> // std::setprecision
using namespace std;
// Declaring Global Arrays
string names[10];
long long phoneNos[10];
// Function Declarations
void getData();
void sort();
void display();
long long searchPhoneNum();
int main()
{
// Declaring variables
int choice;
/* This while loop continues to execute
* until the user enters a valid number
*/
while (true)
{
cout << “:: Menu ::” << endl;
cout << “1.Store Data.” << endl;
cout << “2.Sort.” << endl;
cout << “3.Search Phone Number.” << endl;
cout << “4.Exit.” << endl;
cout << “Enter Choice :”;
cin >> choice;
/* Based on
PayPal Gateway not configured
PayPal Gateway not configured