Advertisement
Guest User

poka sowiaka

a guest
Dec 11th, 2017
71
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. #include <stdio.h>
  3. using namespace std;
  4. main()
  5. {
  6. int x,y;
  7. cout<<"Podaj x"<<endl;
  8. cin>>x;
  9. y=2*x;
  10. cout<<"Wartosc wyrazenia y=2x wynosi "<<y<<endl;
  11. getchar();
  12. return 0;
  13. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement