public static void Main()
int tipo = 0, frecuente = 0, pago = 0, s1 = 0, s2 = 0, s3 = 0, s4 = 0;
double c1 = 0, c2 = 0, c3 = 0, c4 = 0;
Console.WriteLine("CALCULO DE COSTO DE MANTENIMIENTO");
Console.WriteLine("TIPO DE VEHICULO: \n[1] Motocicleta \n[2] Automóvil");
Console.Write("[3] Camioneta \n[4] Camión \nSeleccione una opcion: ");
res = int.TryParse(Console.ReadLine(), out tipo);
Console.Write("Cliente Frecuente: [1] SI [2] NO :");
res = int.TryParse(Console.ReadLine(), out frecuente);
Console.Write("Servicio de Afinación: [1] SI [2] NO :");
res = int.TryParse(Console.ReadLine(), out s1);
Console.Write("Servicio de Frenos: [1] SI [2] NO :");
res = int.TryParse(Console.ReadLine(), out s2);
Console.Write("Servicio de Diagnóstico: [1] SI [2] NO :");
res = int.TryParse(Console.ReadLine(), out s3);
Console.Write("Servicio de Suspensión: [1] SI [2] NO :");
res = int.TryParse(Console.ReadLine(), out s4);
Console.Write("Pago en: [1] EFECTIVO [2] TARJETA BANCARIA :");
res = int.TryParse(Console.ReadLine(), out pago);
Console.WriteLine("Total a pagar: {0:C}", total);