Advertisement
Josif_tepe

Untitled

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