How will you divide two numbers without using the division
operator?

Answers were Sorted based on User's Feedback



How will you divide two numbers without using the division operator? ..

Answer / 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

How will you divide two numbers without using the division operator? ..

Answer / ahmed

how i can convert it into program in java i mean count how many times the subtract will be

Is This Answer Correct ?    3 Yes 0 No

Post New Answer

More Manual Testing Interview Questions

What type of testing will be done in Installation testing or system testing?

6 Answers   Virtusa,


What is exploratory testing?

10 Answers  


Description--->There are 5 modules in my application. On every module there is a date box. In 1st module, date box is used for 2 submenus. My Question is ---> Should I have to write test cases for date box for every modules & submenus?

2 Answers  


Why UAT required

5 Answers   HCL, ITC Infotech,


self join query in sql. 15 objective questions. What is equi join and outer join

2 Answers   Bally Technologies,






why tester using database?

2 Answers   Logica CMG,


Hi, i am looking job in perfomance testing using Loadrunner can any body help me a project in any domine plz(Usah) chs_29@rediffmail.com

0 Answers  


Briefly explain what is Quality Assurance life cycle?

1 Answers  


write test cases on wall

0 Answers  


What are all covers for the Unit Testing ?

1 Answers   CSS,


4) Adhoc Testing is performed with A)A formal test plan but with out a formal testcase cool.gifA formal test case but without a test plan C) Both A and B D) None of the options

5 Answers   Mind Tree,


Can any one share the domain knwoldege of Telecom Jeeva jeevachr@gmail.com

0 Answers  


Categories