bilhnevich lab 2 (46)
#include <iostream>
#include <cmath>
using namespace std;
int main() {
cout << "enter x\n";
float x ;
cin >> x;
if(x>0 , x+1>0){
cout << "2x+1=" << 2*x + 1 ;
}else{
cout << "no solutions" ;
}
return 0;
}INFO