public static void Main()
string[]NM={" ", " ", " ", " ", " ", " ", " ", " ", " ", " "};
char[]P={' ',' ',' ',' ',' ',' ',' ',' ',' ',' '};
char[]F={' ',' ',' ',' ',' ',' ',' ',' ',' ',' '};
double[]Precio={0,0,0,0,0,0,0,0,0,0};
int C, Iny=0, Pat=0, Gen=0;
Console.WriteLine(" Nombre del Medicamento ");
NM [C]= Convert.ToString(Console.ReadLine());
Console.WriteLine(" Presentacion: 1. Jarabe, 2. Tabletas, 3. Inyeccion ");
P [C]= Convert.ToChar(Console.ReadLine());
Console.WriteLine(" Fabricante: 1. De patente, 2. Generico");
F [C]= Convert.ToChar(Console.ReadLine());
Console.WriteLine(" Precio del Medicamento.... ");
Precio [C]= Convert.ToDouble(Console.ReadLine());
Console.WriteLine(" \n----------------------------------------------------------------- ");
Console.WriteLine(" ============================================================================================");
Console.WriteLine(" REPORTE DE LOS MEDICAMENTOS COMPRADOS ");
Console.WriteLine(" ============================================================================================");
Console.WriteLine(" Articulos {0} ", C + 1);
Console.WriteLine(" Nombre del Medicamento: " + NM[C] + ", Precio: $" + Vent);
Console.WriteLine(" El monto total que tiene la farmacia por todos los medicamentos es de: $ " + Tot);
Console.WriteLine(" EL total de inyecciones es de: " + Iny);
Console.WriteLine(" " + Pat + " De Patente y " + Gen + " Generico");