Advertisement
Dido09

Backwards Odd Numbers - C

Apr 25th, 2022
83
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.19 KB | None | 0 0
  1. #include <stdio.h>
  2. int main(){
  3.  
  4. int num = 11;
  5.  
  6. while(num > 0){
  7. num--;
  8. if(!(num % 2))
  9. continue;
  10.  
  11. printf("Num is: %d\n", num);
  12. }
  13.  
  14.  
  15. return 0;
  16. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement