using System;
namespace namespace1
{
class class1
{
public static void print(int a)
{
if(a>50)
{
Console.WriteLine(a.ToString());
}
else
{
print(a+10);
}
}
public static void Main()
{
print(30);
Console.ReadLine();
}
}
}
Loading

Join the conversation! Your thoughts help the community grow.