Advertisement
Guest User

Untitled

a guest
Feb 25th, 2020
80
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.26 KB | None | 0 0
  1. #include <iostream>
  2.  
  3. using namespace std;
  4.  
  5. int main()
  6. {
  7. int n = 10;
  8. while(n != 3) {
  9. cout<<n<<",";
  10. n--;
  11. if(n == 3) {
  12. cout<<n<<", prekinuto brojanje unazad.";
  13. break;
  14. }
  15. }
  16. return 0;
  17. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement