Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #include <iostream>
- #include <locale>
- using namespace std;
- int main()
- {
- setlocale(LC_ALL, "Russian");
- int number;
- cout << "Введите число: ";
- cin >> number;
- if (number % 19 == 0 && number % 17 != 0)
- cout << "Число удовлетворяет условию.";
- else cout << "Число не удовлетворяет условию.";
- system("pause >> void");
- return 0;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement