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