(adsbygoogle = window.adsbygoogle || []).push({ google_ad_client: "ca-pub-2960223314593660", enable_page_level_ads: true }); Program to print quotient and remainder - TecGlance

Header Ads

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

Powered by Blogger.