How will you divide two numbers without using the division
operator?
Answer Posted / nakul gupta
we must subtract the second nnumber from the first till the
second number becomes greater than first number.
for example: we have two numbers a=245 & b=40 then a-b is
245-40=205
again 205-40=165
165-40=125
125-40=85
085-40=45
045-40=5
here we subract second number from first one 6 times &
remainder is 5.
Also if we divide 245 by 40 the quotient is 6 & remainder
is 5.
Is This Answer Correct ? | 53 Yes | 7 No |
Post New Answer View All Answers
Test cases have written according to Flow of the software working or according to Screens?
How to test the below code and write test case? Prove that this code is wrong? int add(int a ,int b) {return a+b; }
For any web application, what are the possible login features that should be tested?
Which model is following in your company for developing software?
why QA team is necessary for an organization?
what are the risk factors in the project? what is the base for testplan and entry criteria ,exit criteria for test plan?
What are all the scenario for 1.google analytics 2.api 3.paypal
Write a set of test cases to test youtube?
What are the main key components in web applications and client and server applications?
Hi friends, Im an MBA Finance, 2 yrs of exp workng in Investment com, + around 2 yrs of exp in Manual testing in Finane domain. Im looking for manual testing jobs but not getting any calls, Im worried is manual tesing in finance domain do have any good scopes in future or not. Plz provide me ur valuable suggestion,so tht I can best decision to retain in this platform(manual testing). or not
What is the negative testing and example
Hello all, Can someone tell me what kind of questions i can expect from hiring manager along with two team members on final face to face interview for manual testing position.. I am switching from BA to QA as its better on benefits etc.. Thanks in advance
What do you do (with the project tasks) when the schedule fails?
What is the difference between load and stress testing?
What are the phases involved in software testing life cycle?