bikhnevich lab2 (37)
#include <iostream>
#include <cmath>
using namespace std;
int main() {
cout <<"enter m1,m2,r,λ\n";
float m1,m2,r,λ ;
cin >> m1 >>m2 >>r >> λ;
if (pow(r,2)!=0){
cout << "λ*(m1*m2)=" << λ*(m1*m2);
}else{
cout << "no solutions";
}
return 0;
}INFO