Question: Using visual studio 2022 C++ Demo We will write code together to read in the data in demo.txt, sum the two numbers, and then output


Demo We will write code together to read in the data in demo.txt, sum the two numbers, and then output the result to sum.txt with the words in reverse order. sum.txt should look like this by the time we are done: 36 words back demo.txt Exercises 1. Read in the file input.txt and print its contents to the screen. The file contains 5 numbers and 3 strings of up to 20 characters with spaces on different lines. - input.txt 2. Write to a file my full name, then your full name, each on its own line followed by two lines of text that the user enters. File should be called output.txt and may be stored where you wish. Backdemo.txt1224backwords Back 4 7 1 41 65 flowers chairs in a room ages input.txt
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
