Advertisement
Spocoman

05. Divisible by 3

Nov 2nd, 2023
581
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.  
  3. using namespace std;
  4.  
  5. int main() {
  6.     for (int i = 3; i < 100; i += 3) {
  7.         cout << i << endl;
  8.     }
  9.  
  10.     return 0;
  11. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement