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

tell me about ur current project???

2 Answers   Philips,


what is diff b/w smoke testing & sanity testing?

10 Answers   Wipro,


Changes and enhancements to system?

0 Answers   Infogain,


Explain the performance testing

3 Answers   CSC,


If the Developers are unable to understand the bug send by the testers , then how will the Testers convince or explain the developer.

3 Answers  


U have a Scenario and there is box to enter values from 0 to 1000. Now what is the Test data u will test? What are the positive and negative test cases? How will U use Equivalence class Partition ?

4 Answers  


how can we identify the regression testcases suppose we hava three functionalities for these functionalities we had write some testcases in that testcases how can we find out them

2 Answers   HeadStrong, Mindteck,


In a Software testing Field, What you think a TESTER needs...?

5 Answers   Broadridge,


what is difference between boundary value analysis and Equivalnce partioning?

5 Answers   InterSoft, Sharp, TCS, Wipro,


Hi all, can anyone tell me what is the selection procedure in Birlasoft for Manual Tester?It will be a great help.

0 Answers   Wipro,


what is regression testing?

3 Answers   Cisco,


write test 5 negative test cases for pen?

30 Answers   IBM, Xento,


Categories