Write a program that carries out the following tasks: Open a file with the name hello.txt. Store

Question:

Write a program that carries out the following tasks:

Open a file with the name hello.txt. Store the message “Hello, World!” in the file. Close the file. Open the same file again. Read the message into a string variable and print it.

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

Step by Step Answer:

Related Book For  book-img-for-question
Question Posted: