Dividing Mania
94% Success18 Attempts20 Points1s Time Limit256MB Memory1024 KB Max Code

Given two integers A and B. Find out the quotient and remainder when B is divided by B.

The output must be printed in the following sequence-

Quotient Remainder

Examples
Input
17 3
Output
5 2
Explanation

17 / 3 gives quotient = 5 and remainder = 3.

NOTE: Print quotient followed by remained.

Please login to use the editor

You need to be logged in to access the code editor

Loading...

Please wait while we load the editor

Loading Editor...
Results