I am writing a program in which a print function takes in users' street address(string), city (string) , state (string), zip(int).
What will my return be for this function?
My code snippet is this:
string addressType::print_add(string str, string Cit, string St, int Z)
{
cout<<str<<endl;
cout<< Cit <<","<<St<<endl;
cout<<"Zip: "<<Z<<endl;
return ;//what should I return here?
}
Thanks.