Question: Okay guys so here is my code. The problem is from Project Euler problem 13. My assignment had us reverse the digits and then had
using namespace std; void add(int al, int sizel, int bll, int size2): void results(int al,int size): int main() ifstream numFile ("nums.txt" int size 55 int Dsizel-() string numbers: int sum[size () if (numFile.is open1 Opening File. Mhile (getline (numFile, numbers))t 1/ Get each line from file. for(int i - 0; 1 5; 1+) DI umbers(49 1] // Put converted into reverse. add(sum, size,D,size) for(int . ;
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
