Monday, January 4, 2021

Python Program to Read Two Numbers and Print Their Quotient and Remainder

 

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

cisco Cybersecurity Essentials Quiz 8 answer in bold

Question  1 Correct Mark 2.00 out of 2.00 Flag question Question text A company has had several incidents involving users downloading unauth...