Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #include <iostream>
- using namespace std;
- int main ()
- {
- int Digit = 0;
- bool Flag = true;
- cout << "Vedite chislo: ";
- cin >> Digit;
- if (Digit < 131 && Digit > 90 && true == (Digit % 3 == 0) || false == (Digit % 7 == 0))
- cout << "Vashe chislo " << Digit << " kratne 3";
- else
- cout << "Vashe chislo " << Digit << " kratne 7";
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement