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 ConsoleApplication3
- {
- class Program
- {
- static void Main(string[] args)
- {
- int a, b, c=25;
- GeniusTrappedInIdiotsMind(c, out a, out b);
- }
- static void GeniusTrappedInIdiotsMind(int Number, out int x, out int y)
- {
- if (Number>2) {
- int Temp;
- GeniusTrappedInIdiotsMind(--Number, out y, out Temp);
- x = (4*y)-(4*Temp);
- } else {
- y=1; x=3;
- Console.WriteLine(y);
- }
- Console.WriteLine(x);
- }
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement