public static void Main()
int und1 = 0, und2 = 0, und3 = 0, und4 = 0, und5 =0, und6 = 0;
Console.WriteLine("Ingresar las unidades de material " + i + ": ");
und1 = Convert.ToInt32(Console.ReadLine());
und2 = Convert.ToInt32(Console.ReadLine());
und3 = Convert.ToInt32(Console.ReadLine());
und4 = Convert.ToInt32(Console.ReadLine());
und5 = Convert.ToInt32(Console.ReadLine());
und6 = Convert.ToInt32(Console.ReadLine());
Console.WriteLine(" Material Total Unidades Costo Estimado");
Console.WriteLine(" 1 " + und1 + " " + und1 * cost);
Console.WriteLine(" 2 " + und2 + " " + und2 * cost);
Console.WriteLine(" 3 " + und3 + " " + und3 * cost);
Console.WriteLine(" 4 " + und4 + " " + und4 * cost);
Console.WriteLine(" 5 " + und5 + " " + und5 * cost);
Console.WriteLine(" 6 " + und6 + " " + und6 * cost);