Design a program that opens an output file with the external name my_name.dat, writes your name to

Question:

Design a program that opens an output file with the external name my_name.dat, writes your name to the file, and then closes the file.

Fantastic news! We've Found the answer you've been seeking!

Step by Step Answer:

Question Posted: