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

what are the test bugs

0 Answers  


what is the diff b/w system testing & end to end testing

1 Answers  


3. In a system designed to work out the tax to be paid: An employee has £4000 of salary tax free. The next £1500 is taxed at 10%. The next £28000 after that is taxed at 22%. Any further amount is taxed at 40%. To the nearest whole pound, which of these groups of numbers fall into three DIFFERENT equivalence classes?

0 Answers  


After receiving the bug as fixed , what types of tests we will continue...

6 Answers   GE,


Describe any bug you remember. Plz Give some real examples

7 Answers  


Once a bug is found how do u report it?wat is the process?

1 Answers  


how we conduct security testing in realtime,for every project we conduct security testig or not

1 Answers   EE Limited, TCS,


Deep structure testing is not designed to Option 1 examine object behaviors Option 2 exercise communication mechanisms Option 3 exercise object dependencies Option 4 exercise structure observable by the use explain deep structure testing

1 Answers  


Do Testers write or update a Testplan? I know its the TeamLead responsbility but i want an exact answer for interview purpose? By any chance if they ask do you ever got to write the Test plan in such cases what to answer?

2 Answers  


What's the difference between system testing and acceptance testing?

0 Answers  


What is the difference between high level design and low level design with example

6 Answers   CTS, TATA, Wipro,


Any body can write the test cases for Address field, Mobile Number field & Landline Number field ?

3 Answers   Maslin Technologies,


Categories