Computer Science, asked by bajajdeshna, 1 month ago

6) Write a program to take two number from the user as
input and find out the reminder and quotient.​

Answers

Answered by MrTSR
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 gadhedoINSAAN
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