Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- using System;
- using System.Collections.Generic;
- using System.Linq;
- using System.Text;
- namespace orai1118
- {
- class Program
- {
- static int kivon(int x, int y, ref int z)
- {
- z = y - x;
- return x-y;
- }
- static void Main(string[] args)
- {
- int a = Convert.ToInt32(Console.ReadLine());
- int b = Convert.ToInt32(Console.ReadLine());
- int c = 0;
- Console.WriteLine("A számok: {0}, {1}", kivon(a,b, ref c), c);
- Console.ReadKey();
- }
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement