guys, i would like to ask how can i add very large numbers... thanks
Printable View
guys, i would like to ask how can i add very large numbers... thanks
+
Quzah.
mr. quzah, thanks anyways... it's a complicated program that's why i'm trying to get help from "experts"... but it seems no one wants to help... i'll figure it out anyway... by the way i am only starting to learn C... i'm not a programmer, i am an engineer... i just thought you can give me a better answer than just "+"... thanks anyway for the response...
Well before you get all upset at quzah, let's consider your original post; Your question is so vague, and this makes me wonder what sort of answer you expected to receive? How 'large' is large? What other ways of adding are there? Beyond the obvious answer, which quzah gave, what are you expecting? Specific questions generally garner specific answers.
actually i would like to create a program that can add a pair of large numbers...it can be any n-digit number up to, say, 100-digit number. my problem is i don't know how i can manipulate that large number...
say the user inputs:
input1=2324957349572362476394723947361489734
input2=4957495729471346158960475234970285034840385 6
how can i add that me knowing that a data type like "double" is limited in size.
thanks for replying sir... and i apologize for not stating clearly my question...
Did you look at this?
i'll look on this first... thank you sir.