Advertisement
Guest User

Untitled

a guest
Jan 18th, 2018
84
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.29 KB | None | 0 0
  1. #include <iostream>
  2.  
  3. using namespace std;
  4.  
  5. int liczba,odjac,wynik,x;
  6.  
  7. int main()
  8. {
  9. cout << "Jaka masz liczbe:" << endl;
  10. cin >> liczba;
  11.  
  12. cout << "Ile chcesz odjac:" << endl;
  13. cin >> odjac;
  14.  
  15. x = liczba/(odjac);
  16.  
  17. cout << "Wynik to:" <<x;
  18.  
  19. return 0;
  20. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement