Advertisement
piffy

FunctionRefactoring-Start

Nov 27th, 2019
526
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C++ 0.24 KB | None | 0 0
  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. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement