Advertisement
Josif_tepe

Untitled

May 28th, 2021
112
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C++ 0.25 KB | None | 0 0
  1. #include <iostream>
  2.  
  3. using namespace std;
  4.  
  5. int main()
  6. {
  7.     int jabolki;
  8.     cin >> jabolki;
  9.     for (int i = 0; i <= 3; i++)
  10.     {
  11.         if ((jabolki + i) % 4 == 0)
  12.         {
  13.             cout << i * 9 << endl;
  14.         }
  15.     }
  16.     return 0;
  17. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement