Quick actions

cmd+k|ctrl+k

Navigation

Languages

Задание167.R 

Snippet info

Language

Cpp

Visibility

public

Author

romanov

Created

2018-10-21T20:05:31Z

Updated

2018-10-21T20:42:52Z

#include <iostream>
#include "cmath"
using namespace std;
 
int main() {
    int a, b, c;
        cout << "Введите a: " << endl;
cin >> a;
        cout << "Введите b: " << endl;
cin >> b;
        cout << "Введите c: " << endl;
cin >> c;
        if ((a > b) && (a > c))
    {
        cout << b * c;
    }
    
    if ((b > a) && (b > c))
    {
        cout << a * c;
    }
   
    if ((c > b) && (c > a))
    {
        cout << b * a;
    }
    
    return 0;
}
INFO