Program to print quotient and remainder
============== QUOTIENT AND REMAINDER ==============
a=input("Enter The Divident :")
b=input("Enter The Divisor :")
q=a/b
r=a%b
print "Quotient =",q
print "Remainder =",r
=============== OUTPUT ========================
Enter The Divident :26
Enter The Divisor :17
Quotient = 1
Remainder = 9
================================================
No comments