suppose u want to do 124 - 46 step1 : write 10's complement of 46 i.e. 53 (9's complement) +1 = 54 step2: add 124 + 54 = 178 step3: neglect 1 from 178 and answer will be 78.
correct me if i am wrong. On Tue, Jul 12, 2011 at 12:54 AM, Anika Jain <[email protected]> wrote: > how to do subtraction of two integers widout using subtractn?? > > -- > 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. > -- Regards Aditya Pratap MCA II -- 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.
