Computer Science, asked by hellosgame20, 9 hours ago

input two nymbers. Display their sum,difference and product​

Answers

Answered by BhawanaArya
0

Answer:

#include<bits/stdc++.h>

using namespace std;

int main()

{  

int n,m;

cin >> n >> m;

cout << "The number are:" << n << " " << m << endl;

 

cout << "Sum " << (n + m) << endl;

cout << "Difference " << (n-m) << endl;

cout << "Product " << (n * m) << endl;

cout << "Quotient " << (n/ m) << endl;

cout << "Remainder " << (n % m ) << endl;

return 0;

}

Explanation:

Similar questions