Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- /*** FUNCTION REFATORING - START ***/
- #include <iostream>
- using namespace std;
- int main()
- { float x,y;
- cout<<"Inserisci il numero: ";
- cin>>x;
- y=x*x;
- cout<<"Il risultato è ";
- cout<<y;
- return 0;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement