Computer Science, asked by rk9881025, 3 months ago

On how many numbers can we use the Quotient command?

Answers

Answered by anant4256kushwaha
1

Explanation:

Program to Compute Quotient and Remainder

#include <stdio.h>

int main() {

int dividend, divisor, quotient, remainder;

printf("Enter dividend: ");

scanf("%d", &dividend);

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;

}

Answered by manojchauhanma2
0

Answer:

Tip: If you want to divide numeric values, you should use the "/" operator as there isn't a DIVIDE function in Excel. For example, to divide 5 by 2, you would type =5/2 into a cell, which returns 2.5. The QUOTIENT function for these same numbers =QUOTIENT(5,2) returns 2, since QUOTIENT doesn't return a remainder.

Similar questions