harika.apu Wrote:Hello Ron ,
i do understand what you have told in second paragraph ("notice that these...)
before starting with evaluating statements knowing this information was enough , but should i not consider m+z can be 0 also ?
what if one positive and other is negative ?
what if both of them are zeroes(although after going to statements this condition can't be true)
Thanks in advance for all help
it may be worthwhile to consider these things in reviewing the problem. when you review, you should explore every little corner of the problem—including aspects that aren't necessary for an efficient solution.
when you're simulating test conditions, though (= doing problems under a time constraint), NEVER do any more work than is actually necessary!