Computer Science, asked by ItzANANYA, 2 months ago

//write a program to find division of the two numbers..

this is related to computer program of c++..

❌❌No spam answers ❌❌​

Answers

Answered by parvati1527
2

Answer:

Example: Compute quotient and remainder

#include <iostream>

using namespace std;

int main()

{

int divisor, dividend, quotient, remainder;

cout << "Enter dividend: ";

cin >> dividend;

cout << "Enter divisor: ";

cin >> divisor;

quotient = dividend / divisor;

remainder = dividend % divisor;

cout << "Quotient = " << quotient << endl;

cout << "Remainder = " << remainder;

return 0;

Similar questions