write a Python program to find the quotient and remainder using function method
Answers
Answered by
4
a=int(input("Enter the first number: "))
b=int(input("Enter the second number: "))
quotient=a//b
remainder=a%b
print("Quotient is:",quotient)
print("Remainder is:",remainder)
Program Explanation
1. User must enter the first and second number .
2. The quotient is obtained using true division (// operator).
3. The modulus operator gives the remainder
Answered by
1
Explanation:
please mark to brainest.
Attachments:
Similar questions
Psychology,
4 months ago
Computer Science,
4 months ago
Science,
4 months ago
World Languages,
10 months ago
English,
10 months ago
Chemistry,
1 year ago
English,
1 year ago