Python Program to Read Two Numbers and Print Their Quotient and Remainder
code area :
a=int (input())
b=int (input())
quotient=a//b
remainder=a%b
print(quotient)
print(remainder)
TEST CASE:1
INPUT1:
10
5
OUTPUT:
2
0
TEST CASE:2
INPUT2:
15
7
OUTPUT
2
1
No comments:
Post a Comment