the base is not given, so 10 can't be assumed Best Regards Ashish Goel "Think positive and find fuel in failure" +919985813081 +919966006652
On Tue, Jun 26, 2012 at 4:38 PM, amrit harry <[email protected]>wrote: > make size of both array by adding '0' in front of smaller array > then > int carry=0; > for(i=array.size();i>=0;i--) > { > sum[i]=carry+arrayA[i]+arrayB[i]; > carry=sum[i]/10; > sum[i]=sum[i]%10; > } > then reverse and print sum > On Tue, Jun 26, 2012 at 3:40 PM, Ashish Goel <[email protected]> wrote: > >> >> Best Regards >> >> Ashish Goel >> "Think positive and find fuel in failure" >> +919985813081 >> +919966006652 >> >> -- >> You received this message because you are subscribed to the Google Groups >> "Algorithm Geeks" group. >> To post to this group, send email to [email protected]. >> To unsubscribe from this group, send email to >> [email protected]. >> For more options, visit this group at >> http://groups.google.com/group/algogeeks?hl=en. >> > > > > -- > Thanks & Regards > Amritpal singh > > -- > You received this message because you are subscribed to the Google Groups > "Algorithm Geeks" group. > To post to this group, send email to [email protected]. > To unsubscribe from this group, send email to > [email protected]. > For more options, visit this group at > http://groups.google.com/group/algogeeks?hl=en. > -- You received this message because you are subscribed to the Google Groups "Algorithm Geeks" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/algogeeks?hl=en.
