Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- // Задача000000000002.cpp: определяет точку входа для консольного приложения.
- //
- #include "stdafx.h"
- #include <iostream>
- using namespace std;
- int _tmain(int argc, _TCHAR* argv[])
- {
- bool x;
- bool y;
- bool z;
- bool t;
- cout << "Vvedite X";
- cin>> x;
- cout <<"Vvedite Y";
- cin >> y;
- cout <<"Vvedite Z";
- cin >> z;
- t=(!(y||(!x)&&z)||z);
- cout<<t;
- return 0;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement