Advertisement
rotti321

AfisareNumereImpare pbinfo

Sep 22nd, 2021
141
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. #include <iostream>
  2.  
  3. using namespace std;
  4.  
  5. int main() {
  6. int i,n;
  7. cin >> n;
  8. for(i=n;i>=1;i--){
  9. cout<<2*i-1<<" ";
  10. }
  11. return 0;
  12. }
Advertisement
RAW Paste Data Copied
Advertisement