4. Write a program to find the product and Remainder of two numbers where
a=25 and b=6.
Answers
Answered by
0
Answer:
#include <stdio.h>
int main() {
int dividend, divisor, quotient, remainder;
printf("Enter dividend: ");
scanf("%d", ÷nd);
printf("Enter divisor: ");
scanf("%d", &divisor);
// Computes quotient
quotient = dividend / divisor;
// Computes remainder
remainder = dividend % divisor;
printf("Quotient = %d\n", quotient);
printf("Remainder = %d", remainder);
return 0;
}
Explanation:
then;
Enter dividend: 25
Enter divisor: 6
get Quotient = 4
get Remainder = 1
Answered by
0
Answer:
Python Program to find product and reminder of two numbers
a=25
b=6
print("product of two numbers",a*b)
print("reminder of two numbers",a%b)
Explanation:
* used to for multiplication
% (mod) operator used to calculate reminder
Similar questions
Political Science,
1 month ago
Hindi,
1 month ago
Computer Science,
3 months ago
English,
9 months ago
History,
9 months ago