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.
Reviews
There are no reviews yet.
Only logged in customers who have purchased this product may leave a review.
Reviews
There are no reviews yet.