How will you divide two numbers without using the division
operator?
Answers were Sorted based on User's Feedback
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 |
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 |
What is the difference between a standalone application, client-server application and web application?
How can data caching have a negative effect on load testing results?
If U have Test Cases already prepared and u have to just excute those test cases in a very short time then how will U decide which test cases has to be excuted first. Is there any technique ?
If there is no sufficent time for testing & u have to complete the testing then what will u do?
Write TestCases for mobile
Can anybody tell me Which documents consider as SRS document?? Wire frame document can considered SRS Document for writing test cases??
Explain Equavalence Partioning.With example?
I have a build in which there are 17 files, now 3 new files added, in this case what type of testing will do
What's the test suit?? Explain with simple example. If there is User sub-menu & options are New, Edit, Delete (to create, edit & delete user ) then can i say USER Test suit Id-1 for user. Test case id - 1.1 for New, 1.2 for edit, 1.3 for delete.
Testing OO class operations is made more difficult by Option 1 Encapsulation Option 2 Inheritance Option 3 Polymorphism Option 4 Both Inheritance and Polymorphism
why u are using multiple test data in retesting?
what kind of performance test that required for a word processing system?