Description
Create a file named sentence.txt and write a sentence the user enters to it using ofstream.
Test case 1:
Enter a sentence: <user enters a sentence>
File Contents:
sentence.txt contains the user’s sentence after the program is run.
25.00 $
Create a file named sentence.txt and write a sentence the user enters to it using ofstream.
Test case 1:
Enter a sentence: <user enters a sentence>
File Contents:
sentence.txt contains the user’s sentence after the program is run.