Quick actions

cmd+k|ctrl+k

Navigation

Languages

lab4 

Snippet info

Language

Cpp

Visibility

public

Author

enifmankalinan

Created

2018-11-25T21:39:48Z

Updated

2018-11-26T21:19:58Z

#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