#include "iostream"
using namespace std;
int main() {
int a, b, c;
cout << "a = ";
cin >> a;
cout << "b = ";
cin >> b;
cout << "c = ";
cin >> c;
cout << "a + b + c = " << a + b + c << endl;
cout << "a - b - c = " << a - b - c << endl;
cout << "a * b * c = " << a * b * c << endl;
system("pause");
return 0;
}
Copyright © 2024 SCHOLAR.TIPS - All rights reserved.
Answers & Comments
Verified answer
#include "iostream"
using namespace std;
int main() {
int a, b, c;
cout << "a = ";
cin >> a;
cout << "b = ";
cin >> b;
cout << "c = ";
cin >> c;
cout << "a + b + c = " << a + b + c << endl;
cout << "a - b - c = " << a - b - c << endl;
cout << "a * b * c = " << a * b * c << endl;
system("pause");
return 0;
}