6) Write a program to take two number from the user as
input and find out the reminder and quotient.
Answers
Answered by
2
C Program to find out the reminder and quotient of two numbers.
#include<stdio.h>
int main()
{
int a, b;
printf("Enter the dividend:");
scanf("%d", &a);
printf("Enter the divisor:");
scanf("%d", &b);
printf("Quotient is = %d \n", a / b);
printf("Remainder is = %d \n", a % b);
return 0;
}
Example Output
Enter the dividend: 10
Enter the divisor: 5
Quotient is = 2
Remainder is = 0
*Program has been run in the above attachment with output attached*
Attachments:
Answered by
1
Answer:
jaldi se mera Wh.atsa.p num.ber le lo...
mai delete kr dung.a phir ye a nswer
my num.ber is - 9458683448
Similar questions
World Languages,
15 days ago
Science,
1 month ago
Math,
1 month ago
English,
8 months ago
Computer Science,
8 months ago
Math,
8 months ago