Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #include <iostream>
- #include <cmath>
- using namespace std;
- void zwieksz_xy(float *zx, float *zy)
- {
- *zx=*zx+5;
- *zy=*zy+3;
- }
- int main()
- {
- cout<<"Wpisz wartosc x:";
- float x,y;
- cin>>x;
- cout<<"Wpisz wartosc y:";
- cin>>y;
- zwieksz_xy(&x,&y);
- cout<<x<<" "<<y;
- }
Advertisement
Add Comment
Please, Sign In to add comment