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

Metrics for Evaluating Application System Testing?

1 Answers   Crea,


What is Finite state Machine in Testing? What is High Availability Testing? What is Incremental Regression Testing? What is sensitivity Testing? Plz Reply ASAP.

1 Answers   Qwest,


what is test condition? what is test scenario?

1 Answers   CTS,


what are the major observations that you made when you are doing compatibility testing particularly in web applications?

3 Answers   ADITI,


what are the different types of black box techniques?

3 Answers  


WHAT IS JOIN AND TYPES?WHAT ARE STORED PROCEDURES?

1 Answers   RBS,


i live in australia and i have come to india for holiday and i want to give my ISTQB exam so which is preferrable?giving exam in INDIA /AUSTRALIA?Does it really matters?

1 Answers   TCS,


What are the different types of software testing?

0 Answers  


what are the advantages of manual and automation testing ? and which one would u term as efficent testing and effective testing ?pls do reply thankx in advance

0 Answers  


what is agile testing

1 Answers  


There are some features to improve the performance of a Product. What are those factors?

0 Answers   Target,


There is a defect leekage to production environment after release. How to convince the client and what has to be done to retain the client

5 Answers   HCL,


Categories