Quick actions

cmd+k|ctrl+k

Navigation

Languages

Lab4(125)

Snippet info

Language

Cpp

Visibility

public

Author

buteskul5.6

Created

2018-10-09T19:19:33Z

Updated

2018-10-09T19:20:01Z

#include <iostream>

using  namespace std;

int main()
{
	setlocale(LC_ALL, "ru");

	int a, b, c;
	cout << "Введите 3 числа" << endl;
	cin >> a
		>> b
		>> c;



	if (a + b > 0 || a + c > 0 || b + c > 0)
	{
		cout << "Сумма положительна" << endl;
	}

	else
	{
		cout << "Сумма отрицательная" << endl;
	}
	return 0;
}
INFO