I need some help on how to properly execute this program
Input/Output
1- Create an input file with several numbers.
2- Read the numbers from your file into the program utilizing a for loop.
3- Multiply the numbers utilizing a for loop.
4- Write the result into a file.
5- Ask the user if they want to repeat the program or not, utilizing a do-while loop. ( If the user says yes to repeat, your program should start over again automatically)
This is what i have:
#include<iostream>
#include<fstream>
#include<string>
using namespace std;
ifstream input
ofstream output
int main()
{
file_.open("numbers.txt");
for (int i = 1; i >= 6; ++i) {
ReadInput(file_);
}
int originalNumber = 1;
for (int i = 1; i <= 10000; i++) {
originalNumber *= i;
}