Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #include <iostream>
- #include <stdio.h>
- using namespace std;
- main()
- {
- int x,y;
- cout<<"Podaj x"<<endl;
- cin>>x;
- y=2*x;
- cout<<"Wartosc wyrazenia y=2x wynosi "<<y<<endl;
- getchar();
- return 0;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement