Quick actions

cmd+k|ctrl+k

Navigation

Languages

1.4

Snippet info

Language

Cpp

Visibility

public

Author

zvat.333333

Created

2018-10-07T15:51:27Z

Updated

2018-10-07T15:51:41Z

#include <iostream>
#include <math.h>
using namespace std;
int x1, x2, x3;
double y;

int main() {
    cout << "Введите X1, X2, X3"<<endl;
    cin>> x1 >> x2 >> x3;
    y = x1*x2 + x1*x3 + x2*x3;
    cout << y;
    return 0;
}
INFO