Advertisement
Kacper-p

do while 2

Feb 14th, 2020
105
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. using namespace std;
  3. int main()
  4. {
  5. int liczba;
  6. do
  7. {
  8. cout<<"Podaj liczbe 123 by zakonczyc pentle "<<endl;
  9. cin>>liczba;
  10. cout<<"Podales liczbe"<<liczba<<endl;
  11. }
  12. while(liczba!=123);
  13. cout<<"konic petle"<<endl;
  14. return 0;
  15. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement