Dim coefficient as Decimal
Console.WriteLine("What is the coefficient?")
coefficient=Console.ReadLine()
Console.WriteLine("What is the power?")
Console.WriteLine("After differentiating, the coefficient is:")
Console.WriteLine(coefficient*power)
Console.WriteLine("After differentiating, the power is:")
Console.WriteLine(power-1)