Give complete code for a recursive function which computes X(n,a). For this function n is an unsigned short, a is a double.
string s;
size_t i;
for(i=s.size()-1;i>=0;i--) {
cout << s[i];
}
ifstream inFile;
string word;
inFile.open("input.txt");
while (inFile) {
inFile >> word;
cout << "The word is " << word << endl;
}