input two nymbers. Display their sum,difference and product
Answers
Answered by
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
Biology,
5 hours ago
English,
5 hours ago
Science,
5 hours ago
Math,
9 hours ago
Music,
9 hours ago
Political Science,
8 months ago
Physics,
8 months ago
Computer Science,
8 months ago