How will you divide two numbers without using the division
operator?

Answer Posted / 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



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

I have 2 years of exp. in testing and looking for a change if any body knows, about any vacancy in testing then plz contact me on deepti_ac@yahoo.co.in

7740


Differentiate test bed and test environment?

2107


Can you please explain about the erp project

1414


Hi,Please can any one tell me about SAP Testing concepts.

1539


what are all the possible Test Cases for VoIP based applications

1254






What if the project isn’t big enough to justify extensive testing?

784


hai friends, I need clarifications for some doubts in testing terminology. 1.What is thread testing. 2.What is bucket testing and which automated tool is used to do this test. 3. ERP testin automation testing. 4.What is Data Warehousing testing? 5.What is Implementation testing? 6.What is Shake out testing? please let me have the clarifications in detail

1547


What is virtual creation tool?

1546


When first time we are testing the screen then we have to write that this screen should contains so & so columns [ suppose there r 10 columns on that screen]in the expected result

1307


wat is test management ?what are the components available in test management?

1596


What is client server application testing?

1539


Explain Testing process in your organization?

1077


Artifacts in design phase of SDLC ?

3066


Plz give me manual testing real test case ?

1024


hi this is ashok , i never worked in medical domain , can any one pls send me with proper exaple pls Question is while emergency or normal patitent enter into hospital he entered his first and last name and he enter emergency coloumn , write test case on these ,

1608