Advertisement
Josif_tepe

Untitled

Dec 8th, 2023
87
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 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 << endl;
  9. }
  10. }
  11. return 0;
  12. }
  13.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement