Guest User

Untitled

a guest
Apr 22nd, 2018
70
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.45 KB | None | 0 0
  1. class Program
  2. {
  3. static double x = 0.5;
  4.  
  5. static void Main(string[] args)
  6. {
  7. Console.WriteLine("wartosc x przed wykonaniem funkcji f: x = {0}", x);
  8. f(double 2.2);
  9. Console.WriteLine("WARTOSC X PO WYKONANIU FUNKCJI f: x = {0}", x);
  10. Console.ReadKey();
  11.  
  12. }
  13. static int f(double 2.2)
  14. {
  15. return int x += 10;
  16.  
  17.  
  18.  
  19.  
  20.  
  21. }
  22. }
  23. }
Add Comment
Please, Sign In to add comment