Advertisement
DidiMilikina

02.

Sep 13th, 2017
97
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C++ 0.15 KB | None | 0 0
  1. #include <iostream>
  2. using namespace std;
  3.  
  4. int main() {
  5.  
  6.     for (int i = 1; i <= 1000; i++)
  7.     {
  8.         if (i % 10 == 7)
  9.         {
  10.             cout << i << " ";
  11.         }
  12.     }
  13. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement