Advertisement
Guest User

Untitled

a guest
Feb 28th, 2020
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. int main()
  4.  
  5. {
  6. int n;
  7. do
  8. {
  9. cout<<"podaj liczbę dodatnią";
  10. cin>>n;
  11. }
  12. while(n=0);
  13. cout<<"Liczba dodatnia wynosi:"<<n<<endl;
  14. return 0;
  15. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement