int totalval = total(a,b,c); // keep track of the returned value in a variable
cout << "You're total is " << totalval << endl; // use that variable to print to the user
cout <<"Now i will minus your age from your total." << endl;
int agetotal;
agetotal = age - totalval; // use that value to subtract