Assume you have an output file named numbers.txt that is open and associated with an ofstream object named outfile. Write a program segment that uses a for loop to write the numbers 1 through 10 to the file.
We need at least 10 more requests to produce the solution.
0 / 10 have requested this problem solution
The more requests, the faster the answer.