Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #include <iostream>
- #include <string>
- using namespace std;
- void main()
- {
- setlocale(LC_ALL, "Russian");
- float x, y;
- cout << "Введите x, y: \n";
- cin >> x >> y;
- if (x >= 3 & x <= 3 & x <= y)
- {
- cout << "Входит\n";
- }
- else
- {
- cout << "Не входит\n";
- };
- if (x == 0 & y == 0) //Попытка сделать закрытие цикла по вводным данным 0,0
- {
- exit(0);
- }
- system("pause");
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement