Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #include <iostream>
- #include <cmath>
- #include <iomanip>
- using namespace std;
- int main() {
- double a, b, c;
- cin >> a >> b >> c;
- cout.precision(10);
- cout << fixed << (a + b) * c;
- return 0;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement