wap to assign any integer calculate
display the and
quotient and
and
remainder
without using
module 's operator
Answers
Answered by
0
Answer:Given two numbers ‘num’ and ‘divisor’, find remainder when ‘num’ is divided by ‘divisor’. The use of modulo or % operator is not allowed.
Examples :
Input: num = 100, divisor = 7
Output: 2
Input: num = 30, divisor = 9
Output: 3
Explanation:
Similar questions