public static void Main()
string[] strProducto= new string[x];
int[] intCantidad= new int[x];
double[] dblPrecio= new double[x];
for(int i= 0; i < x; i++)
Console.WriteLine(" Escriba el nombre del producto {0}", i+1);
strProducto[i] = Console.ReadLine();
Console.WriteLine("ingrese la cantidad a comprar");
intCantidad[i] = Convert.ToInt32(Console.ReadLine());
Console.WriteLine("ingrese el precio unitario");
dblPrecio[i] =Convert.ToDouble(Console.ReadLine());
Console.WriteLine(" ****El informe es: ****");
Console.WriteLine(strProducto[i] + " la cant es: " +intCantidad[i]+" el prcio"+dblPrecio[i] );
Console.WriteLine(" ¿LE GUSTARÍA AGREGAR UN PRODUCTO MAS?");
Console.WriteLine("SI SU RESPUESTA ES 'SÍ' PRESIONE CUALQUIER NÚMERO");
Console.WriteLine("SI SU RESPUESTA ES 'NO' PRESIONE 1");
continuacion = Convert.ToChar(Console.ReadLine());
}while(continuacion != '1');
Console.WriteLine(" ****El informe es: ****");
Console.WriteLine("Hello World");