Computer Science, asked by gopikaga6, 10 months ago

write a Python program to find the quotient and remainder using function method

Answers

Answered by ranagodambari
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 priyankabane514
1

Explanation:

please mark to brainest.

Attachments:
Similar questions