SHARE
TWEET

Untitled

a guest Feb 25th, 2020 65 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. /******************************************************************************
  2.  
  3.                               Online C++ Compiler.
  4.                Code, Compile, Run and Debug C++ program online.
  5. Write your code in this editor and press "Run" button to compile and execute it.
  6.  
  7. *******************************************************************************/
  8.  
  9. #include <iostream>
  10.  
  11. using namespace std;
  12.  
  13. int main()
  14. {
  15.     int n = 10;
  16.     while(n != 3) {
  17.         cout<<n<<",";
  18.         n--;
  19.         if(n == 3) {
  20.             cout<<n<<", prekinuto brojanje unatrag.";
  21.             break;
  22.         }
  23.     }
  24.     return 0;
  25. }
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
Top