i need a program for subtracting

February 5, 2011 at 19:44:15
Specs: Windows 7
anybody write the coding for subtracting two numbers without using minus symbol...................................

See More: i need a program for subtracting

Report •

#1
February 5, 2011 at 20:52:40
Add the negative of the subtrahend.

Report •

#2
February 5, 2011 at 21:17:24
If it's only for ints look up:

~ (Bitwise Complement)


Report •
Related Solutions


Ask Question