Sunday, March 15, 2009

Puzzle 7 – Add and Subtract

Language – Java | Type – Problem (Code) | Last date 18-Mar-2009 9:00 p.m. IST | Points 5

It’s easy to add up. Subtracting however is another ball game …

Write a program to subtract two floating point numbers.
Twist: Do not use the “-” (minus sign) in the entire program.

Got an answer? Why don’t you leave it here.

No comments:

Post a Comment

Solution for this question?