You are on page 1of 1

int c;

Console.Clear();
c = Convert.ToInt32(Console.ReadLine());
if (c > 15)
{
c = c * 2;
Console.WriteLine(c);
}
else
Console.WriteLine(c);
Console.ReadLine();

You might also like