Advertisement
Guest User

Untitled

a guest
Jul 21st, 2018
59
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.49 KB | None | 0 0
  1. #include <iostream>
  2.  
  3. using namespace std;
  4.  
  5. int main() {
  6. cout << "Hello, World!" << endl;
  7. int a1,a2,a3;
  8. int b1,b2,b3;
  9. int c1,c2,c3;
  10. cout << "podaj a1" << endl;
  11. cin >> a1;
  12. cout << "podaj a2" << endl;
  13. cin >> a2;
  14. cout << "podaj a3" << endl;
  15. cin >> a3;
  16.  
  17. c1 = b1 = a1;
  18. c2 = b2 = a2;
  19. c2 = b2 = a2;
  20.  
  21. cout << "c1 wynosi " << c1 <<endl;
  22. cout << "c2 wynosi " << c2 <<endl;
  23. cout << "c3 wynosi " << c3 <<endl;
  24.  
  25. return 0;
  26. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement