Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- static void Main(string[] args)
- {
- //fv hívás
- int szam = Beolvas();
- Console.WriteLine("a beirt szam: {0}", szam);
- Console.ReadLine();
- }
- //fv deklaráció
- static int Beolvas()
- {
- Console.WriteLine("irjon be egy szamot: ");
- int s = int.Parse(Console.ReadLine());
- return s = int.Parse(Console.ReadLine());
- return s;
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement