Advertisement
Josif_tepe

Untitled

Nov 11th, 2024
55
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C++ 0.16 KB | None | 0 0
  1. #include <stdio.h>
  2.  
  3. int main()
  4. {
  5.     for(int i = 100; i >= 1; i--) {
  6.         if(i % 2 == 1) {
  7.             printf("%d ", i);
  8.         }
  9.     }
  10.     return 0;
  11. }
  12.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement