How to Add the ability to save data to a disk in one or morefiles. The menu or menus should give the user the option to save orretrieve data in this program?
#include<iostream>
#include<string>
using namespace std;
// These are the function prototype/declaration which we need totell the compiler before defining the functions.
int wordgame();
int talkabout(string);
int maths(string);
int mathgame();
int main()
{
string userName;
cout<<“Hi What’s your name? “<<endl;
cin>>userName;
cout << userName << “Nice to meet you, My name isRaphie”<<endl;
wordgame();
talkabout(userName);
maths(userName);
}
int wordgame()
{
const int a = 3;
string word[a] = { “apple”,”ball”,”cat” };
string nword[a] = { “lppea”,”lalb”,”cta” };
string j;
int point=0;
int ctr = 0;
for (int i = 0; i<a; i++)
{
cout << nword[i] << endl;
cout<<“Please enter
PayPal Gateway not configured
PayPal Gateway not configured