Adding numbers with arrays
Hi mates, I'm new in this board and also newbie on c programming...
I have (for me :P) a hard task to add two numbers with the help of two arrays as follows:
1 - Ask to the user to put the number of algarisms of the first number
2 - Ask again for the second number
3 - Do the sum and print the result
Example:
n1=3
E1 - 2
E2 - 5
E3 - 6
n2=2
E1 - 3
E2 - 4
Result = 290
I can do entirely the "performing" part (ask the length and the numbers one by one) but can't do properly the sum itself.
Thanks for the opportunity to expose my task here, any help would be appreciated.