Advertisement
Guest User

Untitled

a guest
Oct 20th, 2017
64
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.30 KB | None | 0 0
  1. #include <stdio.h>
  2. #include <iostream>
  3. #include <stdlib.h>
  4. using namespace std;
  5.  
  6.  
  7. int main()
  8. { int a, suma=0;
  9.  
  10. while (a>=0)
  11. {
  12. cout<<"Podaj liczbe"<<endl;
  13. cin>>a;
  14. }
  15. //cout<<a<<endl;
  16. /*do
  17. {
  18. suma=+1;
  19. }
  20. while (a>=5 || a<=10)
  21. cout<<"suma wynosi:"<<suma<<endl;*/
  22. return 0;
  23. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement