piffy

FunctionRefactoring-Start

Nov 27th, 2019
219
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. /*** FUNCTION REFATORING  - START ***/
  2.  
  3. #include <iostream>
  4.  
  5. using namespace std;
  6.  
  7. int main()
  8. {  float x,y;
  9.     cout<<"Inserisci il numero: ";
  10.     cin>>x;
  11.     y=x*x;
  12.     cout<<"Il risultato è ";
  13.     cout<<y;
  14.     return 0;
  15.    
  16. }
RAW Paste Data