Quick actions

cmd+k|ctrl+k

Navigation

Languages

bikhnevich lab 2 (19)

Snippet info

Language

Cpp

Visibility

public

Author

bikhnevichk

Created

2018-10-02T06:25:52Z

Updated

2018-10-02T06:25:52Z

#include <iostream>
#include <cmath> 
using namespace std;

int main() {
    cout << "enter x,y\n" ;
    float x,y;
    cin >> x >> y ;
    if(18 * y - 1!=0){
        cout << " -y^2-12xy+3x^2 = " << -pow(y,2) - 12 * x * y + 3 * pow(x,2);
        
    }   else{
        cout << "no solutions";
    }
    return 0;
}
INFO