Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- class Program
- {
- static double x = 0.5;
- static void Main(string[] args)
- {
- Console.WriteLine("wartosc x przed wykonaniem funkcji f: x = {0}", x);
- f(double 2.2);
- Console.WriteLine("WARTOSC X PO WYKONANIU FUNKCJI f: x = {0}", x);
- Console.ReadKey();
- }
- static int f(double 2.2)
- {
- return int x += 10;
- }
- }
- }
Add Comment
Please, Sign In to add comment