public static void Main()
Console.Write("Ingrese cantidad Invertida ");
cantidadInver = Convert.ToInt32(Console.ReadLine());
Console.Write("Ingrese porcentaje anual ");
porcentajeA = Convert.ToInt32(Console.ReadLine());
porcentajeA = (cantidadInver * porcentajeA) / 100;
cantidadCuadri = cantidadInver * 4;
while(cantidadInver <= cantidadCuadri)
interesComp = porcentajeA * (1 + cantidadInver);
cantidadInver += interesComp;
Console.WriteLine("Pasaron " + años + " años");