Read first a user's given name followed by the user's age from standard input. Then use an ofstream object named outdata (which you must declare) to write this information separated by a space into a file called outdata. Assume that this is the extent of the output that this program will do.
Declare any variables that you need.
Already registered? Login
Not Account? Sign up
Enter your email address to reset your password
Back to Login? Click here