//FUNCIONES MODULO ADMINISTRATIVO
        static void ListarTarjetasPorCompra(tienda tienda)
        {
            int num = 1;

            foreach (tienda.InfoTarjeta i in tienda.VerTarjetas())
            {
                tarjeta tarjeta = tienda.EncontrarTarjeta(num);
                Console.WriteLine("{0})[Tarjeta Nombre= {1}, Banco = {2}, Total Compras = ${3}]\n", num, i.nombre, i.banco, tarjeta.Total);
                num++;
            }
        }
        static void ListarTarjetas(tienda tienda)
        {
            int num = 1;

            foreach (tienda.InfoTarjeta i in tienda.VerTarjetas())
            {
                tarjeta tarjeta = tienda.EncontrarTarjeta(num);
                Console.WriteLine("{0})[Tarjeta Nombre= {1}, Banco = {2}, Formas de Pago = {3}, Total Compras = {4}]\n", num, i.nombre, i.banco, i.formasdepago, tarjeta.Total);
                foreach (tarjeta.InfoFormadePago f in tarjeta.VerFormasdePago())
                {
                    Console.WriteLine("\t\t{0} cuotas con {1}% de interes\n", f.numcuotas, f.interes);
                }
                num++;
            }
        }
        static void AgregarBeneficio(tienda tienda)
        {
            int numTarjeta, numCuotas, interes;

            try
            {
                Console.WriteLine("Seleccione una tarjeta para el beneficio:");
                ListarTarjetas(tienda);
                numTarjeta = int.Parse(Console.ReadLine());
                Console.WriteLine("Indique cantidad de cuotas:");
                numCuotas = int.Parse(Console.ReadLine());
                Console.WriteLine("Indique interés por cuota:");
                interes = int.Parse(Console.ReadLine());
                tarjeta tarjeta = tienda.EncontrarTarjeta(numTarjeta);
                tarjeta.AgregarBeneficio(numCuotas, interes);
                Console.WriteLine("\nBeneficio Agregado.");
                Console.ReadKey();
            }
            catch
            {
                Console.WriteLine("Error al ingresar datos. Por favor reintente la operacion.");
                Console.ReadKey();
            }
        }
        static void EncontrarOAgregarCliente(int dni, carro carro, tienda tienda)
        {
            cliente  client;
            string   nombre, apellido;
            int      tarjeta, cuotas;
            DateTime dia;
            string   day;

            try
            {
                client = tienda.EncontrarCliente(dni);
                if (client == null)
                {
                    Console.WriteLine("Nuevo Cliente, ingrese sus datos:\n Ingrese Nombre:");
                    nombre = Console.ReadLine();
                    Console.WriteLine("Ingrese Apellido:");
                    apellido = Console.ReadLine();
                    Console.WriteLine("Ingrese Fecha de Nacimiento (DD/MM/AA):");
                    day = Console.ReadLine();
                    DateTime.TryParse(day, out dia);
                    client = tienda.agregarCliente(dni, nombre, apellido, dia);
                    Console.WriteLine("Cliente agregado exitosamente");
                }
                else
                {
                    Console.WriteLine("Ciente existente"); //Agregar datos de cliente en impresion
                    Console.WriteLine("[Cliente Nombre= {0}, Apellido = {1}, Dni={2}, Nacimiento = {3}, TtalGastado = {4}]\n", client.Nombre, client.Apellido, client.DNI, client.Nacimiento, client.TotalGastado);
                }

                Console.WriteLine("Seleccione una tarjeta para abonar:");
                ListarTarjetas(tienda);
                tarjeta = int.Parse(Console.ReadLine());
                Console.WriteLine("Indique cantidad de cuotas:");
                cuotas = int.Parse(Console.ReadLine());
                tarjeta tar     = tienda.EncontrarTarjeta(tarjeta);
                int     interes = tar.EncontrarFormadePago(cuotas);
                if (interes == -1)
                {
                    Console.WriteLine("Error al ingresar datos. Por favor reintente la operacion.");
                    Console.ReadKey();
                    return;
                }
                Console.WriteLine("En {0} cuotas tiene un interes de {1}%", cuotas, interes);
                Console.WriteLine("En el carro hay un total de ${0}", carro.VerTotal());
                float TotalCompra = ((carro.VerTotal()) * (1 + ((float)interes / 100)));
                Console.WriteLine("Precio total financiado: ${0}, en {1} cuotas de ${2}", TotalCompra, cuotas, (TotalCompra / cuotas));
                Console.WriteLine("Confirma la compra? (S/N)");
                string confirma = Console.ReadLine();
                switch (confirma)
                {
                case "s":
                case "S":
                    client.ActualizarTotalGastado(TotalCompra);
                    tar.ActualizarTotalGastado(TotalCompra);
                    tienda.ActualizarTotalGastado(TotalCompra);
                    carro.vaciarcarro();

                    Console.WriteLine("Felicidades por su compra, carro vacio!");
                    Console.ReadKey();
                    break;

                case "n":
                case "N":
                    Console.WriteLine("Tomese su tiempo, no hay apuro. Cuanto mas compre, mejor!");
                    Console.ReadKey();
                    break;

                default:
                    Console.WriteLine("Caracter ingresado no valido, reintente la operacion.");
                    Console.ReadKey();
                    break;
                }
            }
            catch
            {
                Console.WriteLine("Error al ingresar datos. Por favor reintente la operacion.");
                Console.ReadKey();
            }
        }