Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...


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

can we directly write test cases in test directory.

2 Answers   Covansys,


How should validation activities be handled?

0 Answers  


from user point of view wht is the test case for notepad

1 Answers   Lionbridge,


What is decision table testing?

0 Answers  


What is the difference between GUI Testing,UI testing and Usability TEsting

0 Answers   TCS,


Explain 5 Test Matrixes

9 Answers   Persistent,


Can you explain function points?

0 Answers  


what is system testing?

7 Answers  


is Business requirment doc is configurations item or not how you control configurations control

1 Answers  


Which was the most interesting bug you found.

0 Answers  


if you working with any emails why Inbox, outbx, folder all are in left side. why not Right side.

2 Answers  


what kind of test cases we can automated.how to divide manual and automation test cases.

3 Answers   Wipro,


Categories