Что не так с кодом?

#include

#include

using namespace std;

int main()

{int m, a, b, x;

cout << "Vvedite a: " ;

cout << "Vvedite b: " ;

cin >> a ;

cin >> b ;

if (x < 1) m = x + 1;

else if (x = 1) m = a - x + b; // виконується, якщо х = 1

else if (x > 1) m = x- (b/a);

cout << "m=" << m << endl;


return 0;}
Please enter comments
Please enter your name.
Please enter the correct email address.
You must agree before submitting.

Answers & Comments


Copyright © 2024 SCHOLAR.TIPS - All rights reserved.