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

2.How should we post the bugs, Difference between priority and severity, Difference between sanity and smoke testing and Problem faced during development - please mail the answers to my mail id thanu_santo@rediffmail.com

3 Answers   InfoSpace,


how to import test cases from quality center to excel.. explain navigation

1 Answers   FIS,


Can anyone let me know that what would be done by the tester if bug status changes to DUPLICATE,means what kind of action or process should be done by tester?

6 Answers  


what is dd ?

4 Answers  


what is the difference between project based testing and product based testing?

2 Answers   Infinite Computer Solutions,






Hi, Can any body tell me that do anybody need any sort of software background to learn testing

3 Answers  


In an organisation practically how we can implement the Compatability testing(web based applications and windows based applications)

3 Answers   Siemens,


What is 2-Tier and 3-Tier Architecture?

4 Answers  


Do you know anything about Set Top Boxes?

0 Answers   MTN,


Hi Friends Can Any one give test cases on Credit card system

1 Answers  


what is scrum how with ex?

0 Answers  


How do you scope, organize, and execute a test project?

1 Answers   Wipro,


Categories