Computer Science, asked by Anonymous, 7 months ago

Write a C program to display the difference and quotient where the values of a = 80 and b = 20​

Answers

Answered by sanjiththesupernigha
1

Answer:

#include <stdio.h>

int main() {

   int dividend = 80, divisor = 20, quotient, remainder;

   // Computes quotient

   quotient = dividend / divisor;

   // Computes remainder

   remainder = dividend % divisor;

   printf("Quotient = %d\n", quotient);

   printf("Remainder = %d", remainder);

   return 0;

}

Explanation:

Similar questions