Quick actions

cmd+k|ctrl+k

Navigation

Languages

lab1_30

Snippet info

Language

Cpp

Visibility

public

Author

matho.camara

Created

2018-10-13T15:13:02Z

Updated

2018-10-24T08:21:29Z

#include <iostream>
using namespace std;
//вариант 30

int main() {
    double x1,x2,x3,result;
  //collecting data
  cout<<"Input x1,x2 and x3 values:"<<endl;
  cin>>x1>>x2>>x3;

  	  //computing the result
	  result=x1*x2+x1*x3+x2*x3;

	  cout<<"The result is :"<<result<<endl; 
    return 0;
}
INFO