0

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.

2
Contributors
1
Reply
2
Views
9 Years
Discussion Span
Last Post by Ancient Dragon
This question has already been answered. Start a new discussion instead.
Have something to contribute to this discussion? Please be thoughtful, detailed and courteous, and be sure to adhere to our posting rules.