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 r the GUI Test Cases for calculator?

7 Answers   Accenture,


can you please tell me what is field validation and form validation in details,how is this perform

2 Answers   Syntel,


Hi this is satish from bangalore I wanted to take up my ISTQB Foundation level Certification can any one help me out with the date of test..

2 Answers  


plz tell me the V model with complete explanation(not definition)

2 Answers   Accenture, Mphasis,


how can you define Priority and severity

13 Answers   HCL,






Tell some examples of bug severity and bug priority?

0 Answers  


what is acid testing?

0 Answers   Syntel,


what is ur testing process in ur compnay?expalin from starting req phase to last phase brifely?

1 Answers   CTS,


hi, In testing, what is raw data and what is test data and who will prepare/provide those datas. and test run using raw and test datas will be the same or it differs and reasons. this has been asked to me in an interview. expecting a reply from you.

3 Answers   ProdEx Technologies,


hai friends i did my bcom (distance with out inter)and iam pursuing mca(distance alagappa university)iam learning testing cource in ameerpet can i elgibel for testing jobs pls guide me … …and send details to rangavijetha@gmail.com..thanks

0 Answers  


where we do database testing in real time project ? and how ...??

2 Answers  


How was the regression testing done in your project what was the contribution of the regression test effort for the whole quality improvement?

2 Answers   Accenture, Verizon,


Categories