Estructuras+Selectivas

Estructuras de Control.

En esta página pongo tutoriales acerca de las estructuras condicionales o selectivas tales como las que vimos en la UNIDAD 3 de Programación De Ingeniería Química, pero también, como especie de repaso pondré cuales son y la definición de las mismas,así como algunos ejemplos.

La programación de Condición o programación Condicional consiste en afirmar una expresión, si ésta es verdadera se procede a realizar una instrucción, sino se realiza otra instrucción, se le conoce también como instrucción IF. Por ejemplo: La programación de Caso o instrucción SWITCH es también de condición con un grado más complejo. Se requiere de casos para validar una expresión. Por ejemplo: Existe una tercera y es la instrucción DO WHILE, consiste en hacer determinadas instrucciones mientras la condición que le asignamos sea valida. Por ejemplo: Estos 3 casos se pueden mezclar para un mejor desempeño del programa estructurado. A continuación 3 problemas para un mejor entendimiento. **Problema 1 Condicional: ** Dado como dato el sueldo de un trabajador, considere un aumento del 15% si su sueldo es inferior a 1000 y de un 12% en caso contrario. Imprima el sueldo con el aumento incorporado. #include #include **using namespace ** std; **<span style="background-color: transparent; color: #000000; font-family: Times New Roman; font-size: 16px; text-align: left; text-decoration: none; vertical-align: auto;">int **main <span style="background-color: transparent; color: #000000; font-family: Times New Roman; font-size: 16px; text-align: left; text-decoration: none; vertical-align: auto;">{ <span style="background-color: transparent; color: #000000; font-family: Times New Roman; font-size: 16px; text-align: left; text-decoration: none; vertical-align: auto;">**<span style="background-color: transparent; color: #000000; font-family: Times New Roman; font-size: 16px; text-align: left; text-decoration: none; vertical-align: auto;">float **Sueldo, Total, Aumento; <span style="background-color: transparent; color: #000000; font-family: Times New Roman; font-size: 16px; text-align: left; text-decoration: none; vertical-align: auto;">system (“<span style="background-color: transparent; color: #ff0000; font-family: Times New Roman; font-size: 16px; text-align: left; text-decoration: none; vertical-align: auto;">color F0 “); <span style="background-color: transparent; color: #000000; font-family: Times New Roman; font-size: 16px; text-align: left; text-decoration: none; vertical-align: auto;">cout<<”<span style="background-color: transparent; color: #ff0000; font-family: Times New Roman; font-size: 16px; text-align: left; text-decoration: none; vertical-align: auto;">\n\t***EJERCICIO 1 CONDICIONAL IF***\n\n “; <span style="background-color: transparent; color: #000000; font-family: Times New Roman; font-size: 16px; text-align: left; text-decoration: none; vertical-align: auto;">cout<<”<span style="background-color: transparent; color: #ff0000; font-family: Times New Roman; font-size: 16px; text-align: left; text-decoration: none; vertical-align: auto;">\tDado como dato el sueldo de un trabajador, considere un aumento\n “; <span style="background-color: transparent; color: #000000; font-family: Times New Roman; font-size: 16px; text-align: left; text-decoration: none; vertical-align: auto;">cout<<”<span style="background-color: transparent; color: #ff0000; font-family: Times New Roman; font-size: 16px; text-align: left; text-decoration: none; vertical-align: auto;">\tSi su sueldo es menor a 1000 se hara del 15%\n “; <span style="background-color: transparent; color: #000000; font-family: Times New Roman; font-size: 16px; text-align: left; text-decoration: none; vertical-align: auto;">cout<<”<span style="background-color: transparent; color: #ff0000; font-family: Times New Roman; font-size: 16px; text-align: left; text-decoration: none; vertical-align: auto;">\tSi su sueldo es mayor o igual a 1000 se hara del 12%\n “; <span style="background-color: transparent; color: #000000; font-family: Times New Roman; font-size: 16px; text-align: left; text-decoration: none; vertical-align: auto;">cout<<”<span style="background-color: transparent; color: #ff0000; font-family: Times New Roman; font-size: 16px; text-align: left; text-decoration: none; vertical-align: auto;">\tImprima el sueldo con el aumento incorporado…\n\n “; <span style="background-color: transparent; color: #000000; font-family: Times New Roman; font-size: 16px; text-align: left; text-decoration: none; vertical-align: auto;">cout<<”<span style="background-color: transparent; color: #ff0000; font-family: Times New Roman; font-size: 16px; text-align: left; text-decoration: none; vertical-align: auto;">\tEscriba el sueldo del trabajador\n\t “; <span style="background-color: transparent; color: #000000; font-family: Times New Roman; font-size: 16px; text-align: left; text-decoration: none; vertical-align: auto;">cin>>Sueldo; <span style="background-color: transparent; color: #000000; font-family: Times New Roman; font-size: 16px; text-align: left; text-decoration: none; vertical-align: auto;">**<span style="background-color: transparent; color: #000000; font-family: Times New Roman; font-size: 16px; text-align: left; text-decoration: none; vertical-align: auto;">if **(Sueldo<<span style="background-color: transparent; color: #ff00ff; font-family: Times New Roman; font-size: 16px; text-align: left; text-decoration: none; vertical-align: auto;">1000 ) <span style="background-color: transparent; color: #000000; font-family: Times New Roman; font-size: 16px; text-align: left; text-decoration: none; vertical-align: auto;">{ <span style="background-color: transparent; color: #000000; font-family: Times New Roman; font-size: 16px; text-align: left; text-decoration: none; vertical-align: auto;">Aumento=Sueldo*<span style="background-color: transparent; color: #ff00ff; font-family: Times New Roman; font-size: 16px; text-align: left; text-decoration: none; vertical-align: auto;">.15 ; <span style="background-color: transparent; color: #000000; font-family: Times New Roman; font-size: 16px; text-align: left; text-decoration: none; vertical-align: auto;">Total=Sueldo+Aumento; <span style="background-color: transparent; color: #000000; font-family: Times New Roman; font-size: 16px; text-align: left; text-decoration: none; vertical-align: auto;">} <span style="background-color: transparent; color: #000000; font-family: Times New Roman; font-size: 16px; text-align: left; text-decoration: none; vertical-align: auto;">**<span style="background-color: transparent; color: #000000; font-family: Times New Roman; font-size: 16px; text-align: left; text-decoration: none; vertical-align: auto;">else ** <span style="background-color: transparent; color: #000000; font-family: Times New Roman; font-size: 16px; text-align: left; text-decoration: none; vertical-align: auto;">{ <span style="background-color: transparent; color: #000000; font-family: Times New Roman; font-size: 16px; text-align: left; text-decoration: none; vertical-align: auto;">Aumento=Sueldo*<span style="background-color: transparent; color: #ff00ff; font-family: Times New Roman; font-size: 16px; text-align: left; text-decoration: none; vertical-align: auto;">.12 ; <span style="background-color: transparent; color: #000000; font-family: Times New Roman; font-size: 16px; text-align: left; text-decoration: none; vertical-align: auto;">Total=Sueldo+Aumento; <span style="background-color: transparent; color: #000000; font-family: Times New Roman; font-size: 16px; text-align: left; text-decoration: none; vertical-align: auto;">} <span style="background-color: transparent; color: #000000; font-family: Times New Roman; font-size: 16px; text-align: left; text-decoration: none; vertical-align: auto;">cout<<”<span style="background-color: transparent; color: #ff0000; font-family: Times New Roman; font-size: 16px; text-align: left; text-decoration: none; vertical-align: auto;">\n\tSu aumento es de: “<<Aumento<<” pesos\n “; <span style="background-color: transparent; color: #000000; font-family: Times New Roman; font-size: 16px; text-align: left; text-decoration: none; vertical-align: auto;">cout<<”<span style="background-color: transparent; color: #ff0000; font-family: Times New Roman; font-size: 16px; text-align: left; text-decoration: none; vertical-align: auto;">\tEl sueldo con aumento es de: “<<Total<<” <span style="background-color: transparent; color: #ff0000; font-family: Times New Roman; font-size: 16px; text-align: left; text-decoration: none; vertical-align: auto;">pesos\n\n\t “; <span style="background-color: transparent; color: #000000; font-family: Times New Roman; font-size: 16px; text-align: left; text-decoration: none; vertical-align: auto;">system(“<span style="background-color: transparent; color: #ff0000; font-family: Times New Roman; font-size: 16px; text-align: left; text-decoration: none; vertical-align: auto;">PAUSE “); <span style="background-color: transparent; color: #000000; font-family: Times New Roman; font-size: 16px; text-align: left; text-decoration: none; vertical-align: auto;">**<span style="background-color: transparent; color: #000000; font-family: Times New Roman; font-size: 16px; text-align: left; text-decoration: none; vertical-align: auto;">return **0; <span style="background-color: transparent; color: #000000; font-family: Times New Roman; font-size: 16px; text-align: left; text-decoration: none; vertical-align: auto;"><span style="background-color: transparent; color: #0000ff; font-family: Times New Roman; font-size: 16px; text-align: left; text-decoration: none; vertical-align: auto;">/*Programa hecho por Raphael Alarkon <span style="background-color: transparent; color: #000000; font-family: Times New Roman; font-size: 16px; text-align: left; text-decoration: none; vertical-align: auto;"><span style="background-color: transparent; color: #0000ff; font-family: Times New Roman; font-size: 16px; text-align: left; text-decoration: none; vertical-align: auto;">www.IngenieriaEnSistemasUAT.wordpress.com*/ <span style="background-color: transparent; color: #000000; font-family: Times New Roman; font-size: 16px; text-align: left; text-decoration: none; vertical-align: auto;">} <span style="background-color: transparent; color: #000000; font-family: Times New Roman; font-size: 16px; text-align: left; text-decoration: none; vertical-align: auto;"><span style="background-color: transparent; color: #0000ff; font-family: Times New Roman; font-size: 16px; text-align: left; text-decoration: underline; vertical-align: auto;">[|DESCARGAR CODIGO FUENTE .CPP] <span style="background-color: transparent; color: #000000; font-family: Times New Roman; font-size: 16px; text-align: left; text-decoration: none; vertical-align: auto;">Use la estructura IF – ELSE, la más sencilla de programación condicional. <span style="background-color: transparent; color: #000000; font-family: Times New Roman; font-size: 16px; text-align: left; text-decoration: none; vertical-align: auto;">Se declararon las variables FLOAT por puntos decimales. <span style="background-color: transparent; color: #000000; font-family: Times New Roman; font-size: 16px; text-align: left; text-decoration: none; vertical-align: auto;">Se uso la condición SI (Sueldo<1000) para realizar el porcentaje. <span style="background-color: transparent; color: #000000; font-family: Times New Roman; font-size: 16px; text-align: left; text-decoration: none; vertical-align: auto;">No era necesario poner el Aumento, pero para un mejor entendimiento lo agregue. <span style="background-color: transparent; color: #000000; font-family: Times New Roman; font-size: 16px; text-align: left; text-decoration: none; vertical-align: auto;"> <span style="background-color: transparent; color: #000000; font-family: Times New Roman; font-size: 16px; text-align: left; text-decoration: none; vertical-align: auto;"><span style="background-color: transparent; color: #000000; font-family: Times New Roman; font-size: 16px; text-align: left; text-decoration: underline; vertical-align: auto;">**<span style="background-color: transparent; color: #000000; font-family: Times New Roman; font-size: 16px; text-align: left; text-decoration: underline; vertical-align: auto;">Problema No. 2 de estructura SWITCH: ** Dado como datos la matricula de un alumno, el semestre en el que está inscrito, y promedio, determine si el mismo es apto para pertenecer alguna de las profesiones que tiene la universidad. Si el alumno es aceptado teniendo en cuenta las especificaciones que se listan abajo se debe imprimir su matrícula, carrera y la palabra “Aceptado” <span style="background-color: transparent; color: #000000; font-family: Times New Roman; font-size: 16px; text-align: left; text-decoration: none; vertical-align: auto;"><span style="background-color: transparent; color: #000000; font-family: ''; font-size: 15px; line-height: 115%; text-align: left; text-decoration: none; vertical-align: auto;">#include <span style="background-color: transparent; color: #000000; font-family: Times New Roman; font-size: 16px; text-align: left; text-decoration: none; vertical-align: auto;"> <span style="background-color: transparent; color: #008000; font-family: Times New Roman; font-size: 16px; text-align: left; text-decoration: none; vertical-align: auto;">#include <span style="background-color: transparent; color: #000000; font-family: Times New Roman; font-size: 16px; text-align: left; text-decoration: none; vertical-align: auto;">**<span style="background-color: transparent; color: #000000; font-family: Times New Roman; font-size: 16px; text-align: left; text-decoration: none; vertical-align: auto;">using namespace ** std; <span style="background-color: transparent; color: #000000; font-family: Times New Roman; font-size: 16px; text-align: left; text-decoration: none; vertical-align: auto;">**<span style="background-color: transparent; color: #000000; font-family: Times New Roman; font-size: 16px; text-align: left; text-decoration: none; vertical-align: auto;">int **main <span style="background-color: transparent; color: #000000; font-family: Times New Roman; font-size: 16px; text-align: left; text-decoration: none; vertical-align: auto;">{ <span style="background-color: transparent; color: #000000; font-family: Times New Roman; font-size: 16px; text-align: left; text-decoration: none; vertical-align: auto;">**<span style="background-color: transparent; color: #000000; font-family: Times New Roman; font-size: 16px; text-align: left; text-decoration: none; vertical-align: auto;">char **Carrera; <span style="background-color: transparent; color: #000000; font-family: Times New Roman; font-size: 16px; text-align: left; text-decoration: none; vertical-align: auto;">**<span style="background-color: transparent; color: #000000; font-family: Times New Roman; font-size: 16px; text-align: left; text-decoration: none; vertical-align: auto;">int **Matricula, Semestre; <span style="background-color: transparent; color: #000000; font-family: Times New Roman; font-size: 16px; text-align: left; text-decoration: none; vertical-align: auto;">**<span style="background-color: transparent; color: #000000; font-family: Times New Roman; font-size: 16px; text-align: left; text-decoration: none; vertical-align: auto;">float **Promedio; <span style="background-color: transparent; color: #000000; font-family: Times New Roman; font-size: 16px; text-align: left; text-decoration: none; vertical-align: auto;">system (“<span style="background-color: transparent; color: #ff0000; font-family: Times New Roman; font-size: 16px; text-align: left; text-decoration: none; vertical-align: auto;">color F0 “); <span style="background-color: transparent; color: #000000; font-family: Times New Roman; font-size: 16px; text-align: left; text-decoration: none; vertical-align: auto;">cout<<”<span style="background-color: transparent; color: #ff0000; font-family: Times New Roman; font-size: 16px; text-align: left; text-decoration: none; vertical-align: auto;">\n\t***EJERCICIO 2 ESTRUCTURA SWITCH***\n “<<endl; <span style="background-color: transparent; color: #000000; font-family: Times New Roman; font-size: 16px; text-align: left; text-decoration: none; vertical-align: auto;">cout<<”<span style="background-color: transparent; color: #ff0000; font-family: Times New Roman; font-size: 16px; text-align: left; text-decoration: none; vertical-align: auto;">\tDados los datos de la matricula de un alumno,\n “; <span style="background-color: transparent; color: #000000; font-family: Times New Roman; font-size: 16px; text-align: left; text-decoration: none; vertical-align: auto;">cout<<”\<span style="background-color: transparent; color: #ff0000; font-family: Times New Roman; font-size: 16px; text-align: left; text-decoration: none; vertical-align: auto;">tsu semestre y su promedio, determine si el mismo es apto \n “; <span style="background-color: transparent; color: #000000; font-family: Times New Roman; font-size: 16px; text-align: left; text-decoration: none; vertical-align: auto;">cout<<”<span style="background-color: transparent; color: #ff0000; font-family: Times New Roman; font-size: 16px; text-align: left; text-decoration: none; vertical-align: auto;">\tpara pertenecer a alguna de las profesiones que tiene la universidad.\n “; <span style="background-color: transparent; color: #000000; font-family: Times New Roman; font-size: 16px; text-align: left; text-decoration: none; vertical-align: auto;">cout<<”<span style="background-color: transparent; color: #ff0000; font-family: Times New Roman; font-size: 16px; text-align: left; text-decoration: none; vertical-align: auto;">\tSi el alumno es aceptado teniendo en cuenta las especificaciones\n “; <span style="background-color: transparent; color: #000000; font-family: Times New Roman; font-size: 16px; text-align: left; text-decoration: none; vertical-align: auto;">cout<<”<span style="background-color: transparent; color: #ff0000; font-family: Times New Roman; font-size: 16px; text-align: left; text-decoration: none; vertical-align: auto;">\tque se listan abajo, se debe imprimir su matricula, tipo de \n “; <span style="background-color: transparent; color: #000000; font-family: Times New Roman; font-size: 16px; text-align: left; text-decoration: none; vertical-align: auto;">cout<<”<span style="background-color: transparent; color: #ff0000; font-family: Times New Roman; font-size: 16px; text-align: left; text-decoration: none; vertical-align: auto;">\tprofesion y su aprobacion\n\n “; <span style="background-color: transparent; color: #000000; font-family: Times New Roman; font-size: 16px; text-align: left; text-decoration: none; vertical-align: auto;">cout<<”<span style="background-color: transparent; color: #ff0000; font-family: Times New Roman; font-size: 16px; text-align: left; text-decoration: none; vertical-align: auto;">\tPara entrar a Ingenieria – Semestre > 6 y Promedio >= 8.8\n “; <span style="background-color: transparent; color: #000000; font-family: Times New Roman; font-size: 16px; text-align: left; text-decoration: none; vertical-align: auto;">cout<<”<span style="background-color: transparent; color: #ff0000; font-family: Times New Roman; font-size: 16px; text-align: left; text-decoration: none; vertical-align: auto;">\tPara entrar a Medicina – Semestre >=6 y Promedio > 8.5\n “; <span style="background-color: transparent; color: #000000; font-family: Times New Roman; font-size: 16px; text-align: left; text-decoration: none; vertical-align: auto;">cout<<”<span style="background-color: transparent; color: #ff0000; font-family: Times New Roman; font-size: 16px; text-align: left; text-decoration: none; vertical-align: auto;">\tPara entrar a Licenciatura – Semestre > 5 y Promedio >= 8.3\n “; <span style="background-color: transparent; color: #000000; font-family: Times New Roman; font-size: 16px; text-align: left; text-decoration: none; vertical-align: auto;">cout<<”<span style="background-color: transparent; color: #ff0000; font-family: Times New Roman; font-size: 16px; text-align: left; text-decoration: none; vertical-align: auto;">\tPara entrar a Tecnico – Semestre >=3 y Promedio >= 7.8\n\n “; <span style="background-color: transparent; color: #000000; font-family: Times New Roman; font-size: 16px; text-align: left; text-decoration: none; vertical-align: auto;">cout<<(“<span style="background-color: transparent; color: #ff0000; font-family: Times New Roman; font-size: 16px; text-align: left; text-decoration: none; vertical-align: auto;">\tEscriba el numero de Matricula\n\t “); <span style="background-color: transparent; color: #000000; font-family: Times New Roman; font-size: 16px; text-align: left; text-decoration: none; vertical-align: auto;">cin>>Matricula; <span style="background-color: transparent; color: #000000; font-family: Times New Roman; font-size: 16px; text-align: left; text-decoration: none; vertical-align: auto;">cout<<(“<span style="background-color: transparent; color: #ff0000; font-family: Times New Roman; font-size: 16px; text-align: left; text-decoration: none; vertical-align: auto;">\n\tEscriba el promedio\n\t “); <span style="background-color: transparent; color: #000000; font-family: Times New Roman; font-size: 16px; text-align: left; text-decoration: none; vertical-align: auto;">cin>>Promedio; <span style="background-color: transparent; color: #000000; font-family: Times New Roman; font-size: 16px; text-align: left; text-decoration: none; vertical-align: auto;">cout<<(“<span style="background-color: transparent; color: #ff0000; font-family: Times New Roman; font-size: 16px; text-align: left; text-decoration: none; vertical-align: auto;">\n\tEscriba el Semestre\n\t “); <span style="background-color: transparent; color: #000000; font-family: Times New Roman; font-size: 16px; text-align: left; text-decoration: none; vertical-align: auto;">cin>>Semestre; <span style="background-color: transparent; color: #000000; font-family: Times New Roman; font-size: 16px; text-align: left; text-decoration: none; vertical-align: auto;">cout<<”<span style="background-color: transparent; color: #ff0000; font-family: Times New Roman; font-size: 16px; text-align: left; text-decoration: none; vertical-align: auto;">\n\tProfesion a elegir (Escribir en MAYUSCULA la letra)\n\t “; <span style="background-color: transparent; color: #000000; font-family: Times New Roman; font-size: 16px; text-align: left; text-decoration: none; vertical-align: auto;">cout<<”<span style="background-color: transparent; color: #ff0000; font-family: Times New Roman; font-size: 16px; text-align: left; text-decoration: none; vertical-align: auto;">[I = Ingenieria, M = Medicina , L = Licenciatura , T = Tecnico]\n\t “; <span style="background-color: transparent; color: #000000; font-family: Times New Roman; font-size: 16px; text-align: left; text-decoration: none; vertical-align: auto;">cin>>Carrera; <span style="background-color: transparent; color: #000000; font-family: Times New Roman; font-size: 16px; text-align: left; text-decoration: none; vertical-align: auto;">**<span style="background-color: transparent; color: #000000; font-family: Times New Roman; font-size: 16px; text-align: left; text-decoration: none; vertical-align: auto;">switch **(Carrera) <span style="background-color: transparent; color: #000000; font-family: Times New Roman; font-size: 16px; text-align: left; text-decoration: none; vertical-align: auto;">{ <span style="background-color: transparent; color: #000000; font-family: Times New Roman; font-size: 16px; text-align: left; text-decoration: none; vertical-align: auto;">**<span style="background-color: transparent; color: #000000; font-family: Times New Roman; font-size: 16px; text-align: left; text-decoration: none; vertical-align: auto;">case **‘I’: <span style="background-color: transparent; color: #000000; font-family: Times New Roman; font-size: 16px; text-align: left; text-decoration: none; vertical-align: auto;">**<span style="background-color: transparent; color: #000000; font-family: Times New Roman; font-size: 16px; text-align: left; text-decoration: none; vertical-align: auto;">if **(Semestre>6) <span style="background-color: transparent; color: #000000; font-family: Times New Roman; font-size: 16px; text-align: left; text-decoration: none; vertical-align: auto;">{ <span style="background-color: transparent; color: #000000; font-family: Times New Roman; font-size: 16px; text-align: left; text-decoration: none; vertical-align: auto;">**<span style="background-color: transparent; color: #000000; font-family: Times New Roman; font-size: 16px; text-align: left; text-decoration: none; vertical-align: auto;">if **(Promedio>=8.8) <span style="background-color: transparent; color: #000000; font-family: Times New Roman; font-size: 16px; text-align: left; text-decoration: none; vertical-align: auto;">{ <span style="background-color: transparent; color: #000000; font-family: Times New Roman; font-size: 16px; text-align: left; text-decoration: none; vertical-align: auto;">cout<<”<span style="background-color: transparent; color: #ff0000; font-family: Times New Roman; font-size: 16px; text-align: left; text-decoration: none; vertical-align: auto;">\n\n\t***APROBADO***\n “; <span style="background-color: transparent; color: #000000; font-family: Times New Roman; font-size: 16px; text-align: left; text-decoration: none; vertical-align: auto;">cout<<”<span style="background-color: transparent; color: #ff0000; font-family: Times New Roman; font-size: 16px; text-align: left; text-decoration: none; vertical-align: auto;">\n\tMatricula No. “<<Matricula; <span style="background-color: transparent; color: #000000; font-family: Times New Roman; font-size: 16px; text-align: left; text-decoration: none; vertical-align: auto;">cout<<”<span style="background-color: transparent; color: #ff0000; font-family: Times New Roman; font-size: 16px; text-align: left; text-decoration: none; vertical-align: auto;">\n\tTipo de Carrera: “<<Carrera<<”<span style="background-color: transparent; color: #ff0000; font-family: Times New Roman; font-size: 16px; text-align: left; text-decoration: none; vertical-align: auto;">\n\n\t “; <span style="background-color: transparent; color: #000000; font-family: Times New Roman; font-size: 16px; text-align: left; text-decoration: none; vertical-align: auto;">} <span style="background-color: transparent; color: #000000; font-family: Times New Roman; font-size: 16px; text-align: left; text-decoration: none; vertical-align: auto;">**<span style="background-color: transparent; color: #000000; font-family: Times New Roman; font-size: 16px; text-align: left; text-decoration: none; vertical-align: auto;">else ** <span style="background-color: transparent; color: #000000; font-family: Times New Roman; font-size: 16px; text-align: left; text-decoration: none; vertical-align: auto;">{ <span style="background-color: transparent; color: #000000; font-family: Times New Roman; font-size: 16px; text-align: left; text-decoration: none; vertical-align: auto;">cout<<”<span style="background-color: transparent; color: #ff0000; font-family: Times New Roman; font-size: 16px; text-align: left; text-decoration: none; vertical-align: auto;">\n\tNo Aprobado\n\n\t “; <span style="background-color: transparent; color: #000000; font-family: Times New Roman; font-size: 16px; text-align: left; text-decoration: none; vertical-align: auto;">} <span style="background-color: transparent; color: #000000; font-family: Times New Roman; font-size: 16px; text-align: left; text-decoration: none; vertical-align: auto;">} <span style="background-color: transparent; color: #000000; font-family: Times New Roman; font-size: 16px; text-align: left; text-decoration: none; vertical-align: auto;">**<span style="background-color: transparent; color: #000000; font-family: Times New Roman; font-size: 16px; text-align: left; text-decoration: none; vertical-align: auto;">else ** <span style="background-color: transparent; color: #000000; font-family: Times New Roman; font-size: 16px; text-align: left; text-decoration: none; vertical-align: auto;">{ <span style="background-color: transparent; color: #000000; font-family: Times New Roman; font-size: 16px; text-align: left; text-decoration: none; vertical-align: auto;">cout<<”<span style="background-color: transparent; color: #ff0000; font-family: Times New Roman; font-size: 16px; text-align: left; text-decoration: none; vertical-align: auto;">\n\tNo Aprobado\n\n\t “; <span style="background-color: transparent; color: #000000; font-family: Times New Roman; font-size: 16px; text-align: left; text-decoration: none; vertical-align: auto;">} <span style="background-color: transparent; color: #000000; font-family: Times New Roman; font-size: 16px; text-align: left; text-decoration: none; vertical-align: auto;">**<span style="background-color: transparent; color: #000000; font-family: Times New Roman; font-size: 16px; text-align: left; text-decoration: none; vertical-align: auto;">break **; <span style="background-color: transparent; color: #000000; font-family: Times New Roman; font-size: 16px; text-align: left; text-decoration: none; vertical-align: auto;">**<span style="background-color: transparent; color: #000000; font-family: Times New Roman; font-size: 16px; text-align: left; text-decoration: none; vertical-align: auto;">case **‘M’: <span style="background-color: transparent; color: #000000; font-family: Times New Roman; font-size: 16px; text-align: left; text-decoration: none; vertical-align: auto;">**<span style="background-color: transparent; color: #000000; font-family: Times New Roman; font-size: 16px; text-align: left; text-decoration: none; vertical-align: auto;">if **(Semestre>=6) <span style="background-color: transparent; color: #000000; font-family: Times New Roman; font-size: 16px; text-align: left; text-decoration: none; vertical-align: auto;">{ <span style="background-color: transparent; color: #000000; font-family: Times New Roman; font-size: 16px; text-align: left; text-decoration: none; vertical-align: auto;">**<span style="background-color: transparent; color: #000000; font-family: Times New Roman; font-size: 16px; text-align: left; text-decoration: none; vertical-align: auto;">if **(Promedio>8.5) <span style="background-color: transparent; color: #000000; font-family: Times New Roman; font-size: 16px; text-align: left; text-decoration: none; vertical-align: auto;">{ <span style="background-color: transparent; color: #000000; font-family: Times New Roman; font-size: 16px; text-align: left; text-decoration: none; vertical-align: auto;">cout<<”<span style="background-color: transparent; color: #ff0000; font-family: Times New Roman; font-size: 16px; text-align: left; text-decoration: none; vertical-align: auto;">\n\t***APROBADO***\n “; <span style="background-color: transparent; color: #000000; font-family: Times New Roman; font-size: 16px; text-align: left; text-decoration: none; vertical-align: auto;">cout<<”<span style="background-color: transparent; color: #ff0000; font-family: Times New Roman; font-size: 16px; text-align: left; text-decoration: none; vertical-align: auto;">\n\tMatricula No. “<<Matricula; <span style="background-color: transparent; color: #000000; font-family: Times New Roman; font-size: 16px; text-align: left; text-decoration: none; vertical-align: auto;">cout<<”<span style="background-color: transparent; color: #ff0000; font-family: Times New Roman; font-size: 16px; text-align: left; text-decoration: none; vertical-align: auto;">\n\tTipo de Carrera: “<<Carrera<<”<span style="background-color: transparent; color: #ff0000; font-family: Times New Roman; font-size: 16px; text-align: left; text-decoration: none; vertical-align: auto;">\n\n\t “; <span style="background-color: transparent; color: #000000; font-family: Times New Roman; font-size: 16px; text-align: left; text-decoration: none; vertical-align: auto;">} <span style="background-color: transparent; color: #000000; font-family: Times New Roman; font-size: 16px; text-align: left; text-decoration: none; vertical-align: auto;">**<span style="background-color: transparent; color: #000000; font-family: Times New Roman; font-size: 16px; text-align: left; text-decoration: none; vertical-align: auto;">else ** <span style="background-color: transparent; color: #000000; font-family: Times New Roman; font-size: 16px; text-align: left; text-decoration: none; vertical-align: auto;">{ <span style="background-color: transparent; color: #000000; font-family: Times New Roman; font-size: 16px; text-align: left; text-decoration: none; vertical-align: auto;">cout<<”<span style="background-color: transparent; color: #ff0000; font-family: Times New Roman; font-size: 16px; text-align: left; text-decoration: none; vertical-align: auto;">\n\tNo Aprobado\n\n\t “; <span style="background-color: transparent; color: #000000; font-family: Times New Roman; font-size: 16px; text-align: left; text-decoration: none; vertical-align: auto;">} <span style="background-color: transparent; color: #000000; font-family: Times New Roman; font-size: 16px; text-align: left; text-decoration: none; vertical-align: auto;">} <span style="background-color: transparent; color: #000000; font-family: Times New Roman; font-size: 16px; text-align: left; text-decoration: none; vertical-align: auto;">**<span style="background-color: transparent; color: #000000; font-family: Times New Roman; font-size: 16px; text-align: left; text-decoration: none; vertical-align: auto;">else ** <span style="background-color: transparent; color: #000000; font-family: Times New Roman; font-size: 16px; text-align: left; text-decoration: none; vertical-align: auto;">{ <span style="background-color: transparent; color: #000000; font-family: Times New Roman; font-size: 16px; text-align: left; text-decoration: none; vertical-align: auto;">cout<<”<span style="background-color: transparent; color: #ff0000; font-family: Times New Roman; font-size: 16px; text-align: left; text-decoration: none; vertical-align: auto;">\n\tNo Aprobado\n\n\t “; <span style="background-color: transparent; color: #000000; font-family: Times New Roman; font-size: 16px; text-align: left; text-decoration: none; vertical-align: auto;">} <span style="background-color: transparent; color: #000000; font-family: Times New Roman; font-size: 16px; text-align: left; text-decoration: none; vertical-align: auto;">**<span style="background-color: transparent; color: #000000; font-family: Times New Roman; font-size: 16px; text-align: left; text-decoration: none; vertical-align: auto;">break **; <span style="background-color: transparent; color: #000000; font-family: Times New Roman; font-size: 16px; text-align: left; text-decoration: none; vertical-align: auto;">**<span style="background-color: transparent; color: #000000; font-family: Times New Roman; font-size: 16px; text-align: left; text-decoration: none; vertical-align: auto;">case **‘L’: <span style="background-color: transparent; color: #000000; font-family: Times New Roman; font-size: 16px; text-align: left; text-decoration: none; vertical-align: auto;">**<span style="background-color: transparent; color: #000000; font-family: Times New Roman; font-size: 16px; text-align: left; text-decoration: none; vertical-align: auto;">if **(Semestre>5) <span style="background-color: transparent; color: #000000; font-family: Times New Roman; font-size: 16px; text-align: left; text-decoration: none; vertical-align: auto;">{ <span style="background-color: transparent; color: #000000; font-family: Times New Roman; font-size: 16px; text-align: left; text-decoration: none; vertical-align: auto;">**<span style="background-color: transparent; color: #000000; font-family: Times New Roman; font-size: 16px; text-align: left; text-decoration: none; vertical-align: auto;">if **(Promedio>=8.3) <span style="background-color: transparent; color: #000000; font-family: Times New Roman; font-size: 16px; text-align: left; text-decoration: none; vertical-align: auto;">{ <span style="background-color: transparent; color: #000000; font-family: Times New Roman; font-size: 16px; text-align: left; text-decoration: none; vertical-align: auto;">cout<<”<span style="background-color: transparent; color: #ff0000; font-family: Times New Roman; font-size: 16px; text-align: left; text-decoration: none; vertical-align: auto;">\n\t***APROBADO***\n “; <span style="background-color: transparent; color: #000000; font-family: Times New Roman; font-size: 16px; text-align: left; text-decoration: none; vertical-align: auto;">cout<<”<span style="background-color: transparent; color: #ff0000; font-family: Times New Roman; font-size: 16px; text-align: left; text-decoration: none; vertical-align: auto;">\n\tMatricula No. “<<Matricula; <span style="background-color: transparent; color: #000000; font-family: Times New Roman; font-size: 16px; text-align: left; text-decoration: none; vertical-align: auto;">cout<<”<span style="background-color: transparent; color: #ff0000; font-family: Times New Roman; font-size: 16px; text-align: left; text-decoration: none; vertical-align: auto;">\n\tTipo de Carrera: ” <span style="background-color: transparent; color: #000000; font-family: Times New Roman; font-size: 16px; text-align: left; text-decoration: none; vertical-align: auto;"><<Carrera<< <span style="background-color: transparent; color: #ff0000; font-family: Times New Roman; font-size: 16px; text-align: left; text-decoration: none; vertical-align: auto;">“\n\n\t “; <span style="background-color: transparent; color: #000000; font-family: Times New Roman; font-size: 16px; text-align: left; text-decoration: none; vertical-align: auto;">} <span style="background-color: transparent; color: #000000; font-family: Times New Roman; font-size: 16px; text-align: left; text-decoration: none; vertical-align: auto;">**<span style="background-color: transparent; color: #000000; font-family: Times New Roman; font-size: 16px; text-align: left; text-decoration: none; vertical-align: auto;">else ** <span style="background-color: transparent; color: #000000; font-family: Times New Roman; font-size: 16px; text-align: left; text-decoration: none; vertical-align: auto;">{ <span style="background-color: transparent; color: #000000; font-family: Times New Roman; font-size: 16px; text-align: left; text-decoration: none; vertical-align: auto;">cout<<”<span style="background-color: transparent; color: #ff0000; font-family: Times New Roman; font-size: 16px; text-align: left; text-decoration: none; vertical-align: auto;">\n\tNo Aprobado\n\n\t “; <span style="background-color: transparent; color: #000000; font-family: Times New Roman; font-size: 16px; text-align: left; text-decoration: none; vertical-align: auto;">} <span style="background-color: transparent; color: #000000; font-family: Times New Roman; font-size: 16px; text-align: left; text-decoration: none; vertical-align: auto;">} <span style="background-color: transparent; color: #000000; font-family: Times New Roman; font-size: 16px; text-align: left; text-decoration: none; vertical-align: auto;">**<span style="background-color: transparent; color: #000000; font-family: Times New Roman; font-size: 16px; text-align: left; text-decoration: none; vertical-align: auto;">else ** <span style="background-color: transparent; color: #000000; font-family: Times New Roman; font-size: 16px; text-align: left; text-decoration: none; vertical-align: auto;">{ <span style="background-color: transparent; color: #000000; font-family: Times New Roman; font-size: 16px; text-align: left; text-decoration: none; vertical-align: auto;">cout<<”<span style="background-color: transparent; color: #ff0000; font-family: Times New Roman; font-size: 16px; text-align: left; text-decoration: none; vertical-align: auto;">\n\tNo Aprobado\n\n\t “; <span style="background-color: transparent; color: #000000; font-family: Times New Roman; font-size: 16px; text-align: left; text-decoration: none; vertical-align: auto;">} <span style="background-color: transparent; color: #000000; font-family: Times New Roman; font-size: 16px; text-align: left; text-decoration: none; vertical-align: auto;">**<span style="background-color: transparent; color: #000000; font-family: Times New Roman; font-size: 16px; text-align: left; text-decoration: none; vertical-align: auto;">break **; <span style="background-color: transparent; color: #000000; font-family: Times New Roman; font-size: 16px; text-align: left; text-decoration: none; vertical-align: auto;">**<span style="background-color: transparent; color: #000000; font-family: Times New Roman; font-size: 16px; text-align: left; text-decoration: none; vertical-align: auto;">case **‘T’: <span style="background-color: transparent; color: #000000; font-family: Times New Roman; font-size: 16px; text-align: left; text-decoration: none; vertical-align: auto;">**<span style="background-color: transparent; color: #000000; font-family: Times New Roman; font-size: 16px; text-align: left; text-decoration: none; vertical-align: auto;">if **(Semestre>=3) <span style="background-color: transparent; color: #000000; font-family: Times New Roman; font-size: 16px; text-align: left; text-decoration: none; vertical-align: auto;">{ <span style="background-color: transparent; color: #000000; font-family: Times New Roman; font-size: 16px; text-align: left; text-decoration: none; vertical-align: auto;">**<span style="background-color: transparent; color: #000000; font-family: Times New Roman; font-size: 16px; text-align: left; text-decoration: none; vertical-align: auto;">if **(Promedio>=7.8) <span style="background-color: transparent; color: #000000; font-family: Times New Roman; font-size: 16px; text-align: left; text-decoration: none; vertical-align: auto;"><span style="background-color: transparent; color: #000000; font-family: ''; font-size: 15px; line-height: 115%; text-align: left; text-decoration: none; vertical-align: auto;">{ <span style="background-color: transparent; color: #000000; font-family: Times New Roman; font-size: 16px; text-align: left; text-decoration: none; vertical-align: auto;"><span style="background-color: transparent; color: #000000; font-family: ; font-size: 15px; line-height: 115%; text-align: left; text-decoration: none; vertical-align: auto;">cout<<” <span style="background-color: transparent; color: #ff0000; font-family: ; font-size: 15px; line-height: 115%; text-align: left; text-decoration: none; vertical-align: auto;">\n\t***APROBADO***\n <span style="background-color: transparent; color: #000000; font-family: ''; font-size: 15px; line-height: 115%; text-align: left; text-decoration: none; vertical-align: auto;">“; <span style="background-color: transparent; color: #000000; font-family: Times New Roman; font-size: 16px; text-align: left; text-decoration: none; vertical-align: auto;"><span style="background-color: transparent; color: #000000; font-family: ; font-size: 15px; line-height: 115%; text-align: left; text-decoration: none; vertical-align: auto;">cout<<” <span style="background-color: transparent; color: #ff0000; font-family: ; font-size: 15px; line-height: 115%; text-align: left; text-decoration: none; vertical-align: auto;">\n\tMatricula No. <span style="background-color: transparent; color: #000000; font-family: ''; font-size: 15px; line-height: 115%; text-align: left; text-decoration: none; vertical-align: auto;">“<<Matricula; <span style="background-color: transparent; color: #000000; font-family: Times New Roman; font-size: 16px; text-align: left; text-decoration: none; vertical-align: auto;"><span style="background-color: transparent; color: #000000; font-family: ; font-size: 15px; line-height: 115%; text-align: left; text-decoration: none; vertical-align: auto;">cout<<” <span style="background-color: transparent; color: #ff0000; font-family: ; font-size: 15px; line-height: 115%; text-align: left; text-decoration: none; vertical-align: auto;">\n\tTipo de Carrera: <span style="background-color: transparent; color: #000000; font-family: ; font-size: 15px; line-height: 115%; text-align: left; text-decoration: none; vertical-align: auto;">“<<Carrera<<” <span style="background-color: transparent; color: #ff0000; font-family: ; font-size: 15px; line-height: 115%; text-align: left; text-decoration: none; vertical-align: auto;">\n\n\t <span style="background-color: transparent; color: #000000; font-family: ''; font-size: 15px; line-height: 115%; text-align: left; text-decoration: none; vertical-align: auto;">“; <span style="background-color: transparent; color: #000000; font-family: Times New Roman; font-size: 16px; text-align: left; text-decoration: none; vertical-align: auto;"><span style="background-color: transparent; color: #000000; font-family: ''; font-size: 15px; line-height: 115%; text-align: left; text-decoration: none; vertical-align: auto;">} <span style="background-color: transparent; color: #000000; font-family: Times New Roman; font-size: 16px; text-align: left; text-decoration: none; vertical-align: auto;"><span style="background-color: transparent; color: #000000; font-family: ; font-size: 15px; line-height: 115%; text-align: left; text-decoration: none; vertical-align: auto;">**<span style="background-color: transparent; color: #000000; font-family: ; font-size: 15px; text-align: left; text-decoration: none; vertical-align: auto;">else ** <span style="background-color: transparent; color: #000000; font-family: Times New Roman; font-size: 16px; text-align: left; text-decoration: none; vertical-align: auto;"><span style="background-color: transparent; color: #000000; font-family: ''; font-size: 15px; line-height: 115%; text-align: left; text-decoration: none; vertical-align: auto;">{ <span style="background-color: transparent; color: #000000; font-family: Times New Roman; font-size: 16px; text-align: left; text-decoration: none; vertical-align: auto;"><span style="background-color: transparent; color: #000000; font-family: ; font-size: 15px; line-height: 115%; text-align: left; text-decoration: none; vertical-align: auto;">cout<<” <span style="background-color: transparent; color: #ff0000; font-family: ; font-size: 15px; line-height: 115%; text-align: left; text-decoration: none; vertical-align: auto;">\n\tNo Aprobado\n\n\t <span style="background-color: transparent; color: #000000; font-family: ''; font-size: 15px; line-height: 115%; text-align: left; text-decoration: none; vertical-align: auto;">“; <span style="background-color: transparent; color: #000000; font-family: Times New Roman; font-size: 16px; text-align: left; text-decoration: none; vertical-align: auto;"><span style="background-color: transparent; color: #000000; font-family: ''; font-size: 15px; line-height: 115%; text-align: left; text-decoration: none; vertical-align: auto;">} <span style="background-color: transparent; color: #000000; font-family: Times New Roman; font-size: 16px; text-align: left; text-decoration: none; vertical-align: auto;"><span style="background-color: transparent; color: #000000; font-family: ''; font-size: 15px; line-height: 115%; text-align: left; text-decoration: none; vertical-align: auto;">} <span style="background-color: transparent; color: #000000; font-family: Times New Roman; font-size: 16px; text-align: left; text-decoration: none; vertical-align: auto;"><span style="background-color: transparent; color: #000000; font-family: ; font-size: 15px; line-height: 115%; text-align: left; text-decoration: none; vertical-align: auto;">**<span style="background-color: transparent; color: #000000; font-family: ; font-size: 15px; text-align: left; text-decoration: none; vertical-align: auto;">else ** <span style="background-color: transparent; color: #000000; font-family: Times New Roman; font-size: 16px; text-align: left; text-decoration: none; vertical-align: auto;"><span style="background-color: transparent; color: #000000; font-family: ''; font-size: 15px; line-height: 115%; text-align: left; text-decoration: none; vertical-align: auto;">{ <span style="background-color: transparent; color: #000000; font-family: Times New Roman; font-size: 16px; text-align: left; text-decoration: none; vertical-align: auto;"><span style="background-color: transparent; color: #000000; font-family: ; font-size: 15px; line-height: 115%; text-align: left; text-decoration: none; vertical-align: auto;">cout<<” <span style="background-color: transparent; color: #ff0000; font-family: ; font-size: 15px; line-height: 115%; text-align: left; text-decoration: none; vertical-align: auto;">\n\tNo Aprobado\n\n\t <span style="background-color: transparent; color: #000000; font-family: ''; font-size: 15px; line-height: 115%; text-align: left; text-decoration: none; vertical-align: auto;">“; <span style="background-color: transparent; color: #000000; font-family: Times New Roman; font-size: 16px; text-align: left; text-decoration: none; vertical-align: auto;"><span style="background-color: transparent; color: #000000; font-family: ''; font-size: 15px; line-height: 115%; text-align: left; text-decoration: none; vertical-align: auto;">} <span style="background-color: transparent; color: #000000; font-family: Times New Roman; font-size: 16px; text-align: left; text-decoration: none; vertical-align: auto;"><span style="background-color: transparent; color: #000000; font-family: ; font-size: 15px; line-height: 115%; text-align: left; text-decoration: none; vertical-align: auto;">**<span style="background-color: transparent; color: #000000; font-family: ; font-size: 15px; text-align: left; text-decoration: none; vertical-align: auto;">break **; <span style="background-color: transparent; color: #000000; font-family: Times New Roman; font-size: 16px; text-align: left; text-decoration: none; vertical-align: auto;"><span style="background-color: transparent; color: #000000; font-family: ''; font-size: 15px; line-height: 115%; text-align: left; text-decoration: none; vertical-align: auto;">} <span style="background-color: transparent; color: #000000; font-family: Times New Roman; font-size: 16px; text-align: left; text-decoration: none; vertical-align: auto;"><span style="background-color: transparent; color: #000000; font-family: ; font-size: 15px; line-height: 115%; text-align: left; text-decoration: none; vertical-align: auto;">system(“ <span style="background-color: transparent; color: #ff0000; font-family: ; font-size: 15px; line-height: 115%; text-align: left; text-decoration: none; vertical-align: auto;">PAUSE <span style="background-color: transparent; color: #000000; font-family: ''; font-size: 15px; line-height: 115%; text-align: left; text-decoration: none; vertical-align: auto;">“); <span style="background-color: transparent; color: #000000; font-family: Times New Roman; font-size: 16px; text-align: left; text-decoration: none; vertical-align: auto;"><span style="background-color: transparent; color: #000000; font-family: ; font-size: 15px; line-height: 115%; text-align: left; text-decoration: none; vertical-align: auto;">**<span style="background-color: transparent; color: #000000; font-family: ; font-size: 15px; text-align: left; text-decoration: none; vertical-align: auto;">return **0; <span style="background-color: transparent; color: #000000; font-family: Times New Roman; font-size: 16px; text-align: left; text-decoration: none; vertical-align: auto;"><span style="background-color: transparent; color: #0000ff; font-family: ''; font-size: 15px; line-height: 115%; text-align: left; text-decoration: none; vertical-align: auto;">/*Programa hecho por Raphael Alarkon <span style="background-color: transparent; color: #000000; font-family: Times New Roman; font-size: 16px; text-align: left; text-decoration: none; vertical-align: auto;"><span style="background-color: transparent; color: #0000ff; font-family: ''; font-size: 15px; line-height: 115%; text-align: left; text-decoration: none; vertical-align: auto;">www.IngenieriaEnSistemasUAT.wordpress.com*/ <span style="background-color: transparent; color: #000000; font-family: Times New Roman; font-size: 16px; text-align: left; text-decoration: none; vertical-align: auto;"><span style="background-color: transparent; color: #000000; font-family: ''; font-size: 15px; line-height: 115%; text-align: left; text-decoration: none; vertical-align: auto;">} <span style="background-color: transparent; color: #000000; font-family: Times New Roman; font-size: 16px; text-align: left; text-decoration: none; vertical-align: auto;"><span style="background-color: transparent; color: #0000ff; font-family: Times New Roman; font-size: 16px; text-align: left; text-decoration: underline; vertical-align: auto;">[|DESCARGAR CODIGO FUENTE.CPP] <span style="background-color: transparent; color: #000000; font-family: Times New Roman; font-size: 16px; text-align: left; text-decoration: none; vertical-align: auto;"> <span style="background-color: transparent; color: #000000; font-family: Times New Roman; font-size: 16px; text-align: left; text-decoration: none; vertical-align: auto;">Use la estructura SWITCH, mas complicada que la anterior. <span style="background-color: transparent; color: #000000; font-family: Times New Roman; font-size: 16px; text-align: left; text-decoration: none; vertical-align: auto;">Declare CHAR en la variable “Carrera” pero también pude declararla STRING. <span style="background-color: transparent; color: #000000; font-family: Times New Roman; font-size: 16px; text-align: left; text-decoration: none; vertical-align: auto;">Cuando se decide la Carrera, opte por teclear solo 1 letra en mayúscula, si lo desean pueden quitarlo y optar por escribir toda la palabra, sería igual ;) <span style="background-color: transparent; color: #000000; font-family: Times New Roman; font-size: 16px; text-align: left; text-decoration: none; vertical-align: auto;">El RETURN 0 no es necesario, puedes poner EXIT_SUCCES y sale igual . <span style="background-color: transparent; color: #000000; font-family: Times New Roman; font-size: 16px; text-align: left; text-decoration: none; vertical-align: auto;">En Promedio declare FLOAT la variable por puntos decimales, no todos sacamos 10 ;D <span style="background-color: transparent; color: #000000; font-family: Times New Roman; font-size: 16px; text-align: left; text-decoration: none; vertical-align: auto;">**<span style="background-color: transparent; color: #000000; font-family: Times New Roman; font-size: 16px; text-align: left; text-decoration: none; vertical-align: auto;"><span style="background-color: transparent; color: #000000; font-family: Times New Roman; font-size: 16px; text-align: left; text-decoration: underline; vertical-align: auto;">Problema No. 3 de Estructura IF. **En una tienda efectúan un descuento a los clientes dependiendo del monto de la compra. El descuento se efectúa con base en el siguiente criterio. <span style="background-color: transparent; color: #000000; font-family: Times New Roman; font-size: 16px; text-align: left; text-decoration: none; vertical-align: auto;"><span style="background-color: transparent; color: #000000; font-family: ''; font-size: 15px; line-height: 115%; text-align: left; text-decoration: none; vertical-align: auto;">Si el monto es menor que 500 no hay descuento <span style="background-color: transparent; color: #000000; font-family: Times New Roman; font-size: 16px; text-align: left; text-decoration: none; vertical-align: auto;"><span style="background-color: transparent; color: #000000; font-family: ''; font-size: 15px; line-height: 115%; text-align: left; text-decoration: none; vertical-align: auto;">Si el monto está comprendido entre 500 y 1000 inclusive, el desc es de 5% <span style="background-color: transparent; color: #000000; font-family: Times New Roman; font-size: 16px; text-align: left; text-decoration: none; vertical-align: auto;"><span style="background-color: transparent; color: #000000; font-family: ''; font-size: 15px; line-height: 115%; text-align: left; text-decoration: none; vertical-align: auto;">Si el monto está comprendido entre 1000 y 7000 inclusive, el desc es del 11% <span style="background-color: transparent; color: #000000; font-family: Times New Roman; font-size: 16px; text-align: left; text-decoration: none; vertical-align: auto;"><span style="background-color: transparent; color: #000000; font-family: ''; font-size: 15px; line-height: 115%; text-align: left; text-decoration: none; vertical-align: auto;">Si el monto está comprendido entre 7000 y 15000 inclusive, el desc es del 18% <span style="background-color: transparent; color: #000000; font-family: Times New Roman; font-size: 16px; text-align: left; text-decoration: none; vertical-align: auto;"><span style="background-color: transparent; color: #000000; font-family: ''; font-size: 15px; line-height: 115%; text-align: left; text-decoration: none; vertical-align: auto;">Si el monto es mayor de 15000 el desc es del 25% <span style="background-color: transparent; color: #000000; font-family: Times New Roman; font-size: 16px; text-align: left; text-decoration: none; vertical-align: auto;"> <span style="background-color: transparent; color: #000000; font-family: Times New Roman; font-size: 16px; text-align: left; text-decoration: none; vertical-align: auto;"><span style="background-color: transparent; color: #008000; font-family: Times New Roman; font-size: 16px; text-align: left; text-decoration: none; vertical-align: auto;">#include <span style="background-color: transparent; color: #000000; font-family: Times New Roman; font-size: 16px; text-align: left; text-decoration: none; vertical-align: auto;"><span style="background-color: transparent; color: #008000; font-family: Times New Roman; font-size: 16px; text-align: left; text-decoration: none; vertical-align: auto;">#include <span style="background-color: transparent; color: #000000; font-family: Times New Roman; font-size: 16px; text-align: left; text-decoration: none; vertical-align: auto;">**<span style="background-color: transparent; color: #000000; font-family: Times New Roman; font-size: 16px; text-align: left; text-decoration: none; vertical-align: auto;">using namespace ** std; <span style="background-color: transparent; color: #000000; font-family: Times New Roman; font-size: 16px; text-align: left; text-decoration: none; vertical-align: auto;">**<span style="background-color: transparent; color: #000000; font-family: Times New Roman; font-size: 16px; text-align: left; text-decoration: none; vertical-align: auto;">int **main <span style="background-color: transparent; color: #000000; font-family: Times New Roman; font-size: 16px; text-align: left; text-decoration: none; vertical-align: auto;"><span style="background-color: transparent; color: #000000; font-family: ''; font-size: 15px; line-height: 115%; text-align: left; text-decoration: none; vertical-align: auto;">{ <span style="background-color: transparent; color: #000000; font-family: Times New Roman; font-size: 16px; text-align: left; text-decoration: none; vertical-align: auto;"><span style="background-color: transparent; color: #000000; font-family: ; font-size: 15px; line-height: 115%; text-align: left; text-decoration: none; vertical-align: auto;">**<span style="background-color: transparent; color: #000000; font-family: ; font-size: 15px; text-align: left; text-decoration: none; vertical-align: auto;">float **Compra, Total; <span style="background-color: transparent; color: #000000; font-family: Times New Roman; font-size: 16px; text-align: left; text-decoration: none; vertical-align: auto;"><span style="background-color: transparent; color: #000000; font-family: ; font-size: 15px; line-height: 115%; text-align: left; text-decoration: none; vertical-align: auto;">system (“c <span style="background-color: transparent; color: #ff0000; font-family: ; font-size: 15px; line-height: 115%; text-align: left; text-decoration: none; vertical-align: auto;">olor F0 <span style="background-color: transparent; color: #000000; font-family: ''; font-size: 15px; line-height: 115%; text-align: left; text-decoration: none; vertical-align: auto;">“); <span style="background-color: transparent; color: #000000; font-family: Times New Roman; font-size: 16px; text-align: left; text-decoration: none; vertical-align: auto;"><span style="background-color: transparent; color: #000000; font-family: ; font-size: 15px; line-height: 115%; text-align: left; text-decoration: none; vertical-align: auto;">cout<<” <span style="background-color: transparent; color: #ff0000; font-family: ; font-size: 15px; line-height: 115%; text-align: left; text-decoration: none; vertical-align: auto;">\n\t***EJERCICIO 3 CONDICIONAL IF***\n <span style="background-color: transparent; color: #000000; font-family: ''; font-size: 15px; line-height: 115%; text-align: left; text-decoration: none; vertical-align: auto;">“; <span style="background-color: transparent; color: #000000; font-family: Times New Roman; font-size: 16px; text-align: left; text-decoration: none; vertical-align: auto;"><span style="background-color: transparent; color: #000000; font-family: ; font-size: 15px; line-height: 115%; text-align: left; text-decoration: none; vertical-align: auto;">cout<<” <span style="background-color: transparent; color: #ff0000; font-family: ; font-size: 15px; line-height: 115%; text-align: left; text-decoration: none; vertical-align: auto;">\n En una tienda efectuan descuento a los clientes <span style="background-color: transparent; color: #000000; font-family: ''; font-size: 15px; line-height: 115%; text-align: left; text-decoration: none; vertical-align: auto;">“; <span style="background-color: transparent; color: #000000; font-family: Times New Roman; font-size: 16px; text-align: left; text-decoration: none; vertical-align: auto;"><span style="background-color: transparent; color: #000000; font-family: ; font-size: 15px; line-height: 115%; text-align: left; text-decoration: none; vertical-align: auto;">cout<<” <span style="background-color: transparent; color: #ff0000; font-family: ; font-size: 15px; line-height: 115%; text-align: left; text-decoration: none; vertical-align: auto;">\n dependiendo del monto de la compra. El descuento <span style="background-color: transparent; color: #000000; font-family: ''; font-size: 15px; line-height: 115%; text-align: left; text-decoration: none; vertical-align: auto;">“; <span style="background-color: transparent; color: #000000; font-family: Times New Roman; font-size: 16px; text-align: left; text-decoration: none; vertical-align: auto;"><span style="background-color: transparent; color: #000000; font-family: ; font-size: 15px; line-height: 115%; text-align: left; text-decoration: none; vertical-align: auto;">cout<<” <span style="background-color: transparent; color: #ff0000; font-family: ; font-size: 15px; line-height: 115%; text-align: left; text-decoration: none; vertical-align: auto;">\n se efectuan con base en los siguientes criterios. <span style="background-color: transparent; color: #000000; font-family: ''; font-size: 15px; line-height: 115%; text-align: left; text-decoration: none; vertical-align: auto;">“; <span style="background-color: transparent; color: #000000; font-family: Times New Roman; font-size: 16px; text-align: left; text-decoration: none; vertical-align: auto;"><span style="background-color: transparent; color: #000000; font-family: ; font-size: 15px; line-height: 115%; text-align: left; text-decoration: none; vertical-align: auto;">cout<<” <span style="background-color: transparent; color: #ff0000; font-family: ; font-size: 15px; line-height: 115%; text-align: left; text-decoration: none; vertical-align: auto;">\n\n *Si el monto es menor que 500 no hay descuento <span style="background-color: transparent; color: #000000; font-family: ''; font-size: 15px; line-height: 115%; text-align: left; text-decoration: none; vertical-align: auto;">“; <span style="background-color: transparent; color: #000000; font-family: Times New Roman; font-size: 16px; text-align: left; text-decoration: none; vertical-align: auto;"><span style="background-color: transparent; color: #000000; font-family: ; font-size: 15px; line-height: 115%; text-align: left; text-decoration: none; vertical-align: auto;">cout<<” <span style="background-color: transparent; color: #ff0000; font-family: ; font-size: 15px; line-height: 115%; text-align: left; text-decoration: none; vertical-align: auto;">\n *Si la compra es entre 500 y menor a 1000 hay descuento de 5% <span style="background-color: transparent; color: #000000; font-family: ''; font-size: 15px; line-height: 115%; text-align: left; text-decoration: none; vertical-align: auto;">“; <span style="background-color: transparent; color: #000000; font-family: Times New Roman; font-size: 16px; text-align: left; text-decoration: none; vertical-align: auto;"><span style="background-color: transparent; color: #000000; font-family: ; font-size: 15px; line-height: 115%; text-align: left; text-decoration: none; vertical-align: auto;">cout<<” <span style="background-color: transparent; color: #ff0000; font-family: ; font-size: 15px; line-height: 115%; text-align: left; text-decoration: none; vertical-align: auto;">\n *Si la compra es entre 1000 y menor a 7000 hay descuento de 11% <span style="background-color: transparent; color: #000000; font-family: ''; font-size: 15px; line-height: 115%; text-align: left; text-decoration: none; vertical-align: auto;">“; <span style="background-color: transparent; color: #000000; font-family: Times New Roman; font-size: 16px; text-align: left; text-decoration: none; vertical-align: auto;"><span style="background-color: transparent; color: #000000; font-family: ; font-size: 15px; line-height: 115%; text-align: left; text-decoration: none; vertical-align: auto;">cout<<” <span style="background-color: transparent; color: #ff0000; font-family: ; font-size: 15px; line-height: 115%; text-align: left; text-decoration: none; vertical-align: auto;">\n *Si la compra es entre 7000 y menor a 1500 hay descuento de 18% <span style="background-color: transparent; color: #000000; font-family: ''; font-size: 15px; line-height: 115%; text-align: left; text-decoration: none; vertical-align: auto;">“; <span style="background-color: transparent; color: #000000; font-family: Times New Roman; font-size: 16px; text-align: left; text-decoration: none; vertical-align: auto;"><span style="background-color: transparent; color: #000000; font-family: ; font-size: 15px; line-height: 115%; text-align: left; text-decoration: none; vertical-align: auto;">cout<<” <span style="background-color: transparent; color: #ff0000; font-family: ; font-size: 15px; line-height: 115%; text-align: left; text-decoration: none; vertical-align: auto;">\n *Si la compra es mayor o igual a 1500 hay descuento de 25% <span style="background-color: transparent; color: #000000; font-family: ''; font-size: 15px; line-height: 115%; text-align: left; text-decoration: none; vertical-align: auto;">“; <span style="background-color: transparent; color: #000000; font-family: Times New Roman; font-size: 16px; text-align: left; text-decoration: none; vertical-align: auto;"><span style="background-color: transparent; color: #000000; font-family: ; font-size: 15px; line-height: 115%; text-align: left; text-decoration: none; vertical-align: auto;">cout<<” <span style="background-color: transparent; color: #ff0000; font-family: ; font-size: 15px; line-height: 115%; text-align: left; text-decoration: none; vertical-align: auto;">\n\n Introduzca el monto de la compra\n “ <span style="background-color: transparent; color: #000000; font-family: ''; font-size: 15px; line-height: 115%; text-align: left; text-decoration: none; vertical-align: auto;">; <span style="background-color: transparent; color: #000000; font-family: Times New Roman; font-size: 16px; text-align: left; text-decoration: none; vertical-align: auto;"><span style="background-color: transparent; color: #000000; font-family: ''; font-size: 15px; line-height: 115%; text-align: left; text-decoration: none; vertical-align: auto;">cin>>Compra; <span style="background-color: transparent; color: #000000; font-family: Times New Roman; font-size: 16px; text-align: left; text-decoration: none; vertical-align: auto;"><span style="background-color: transparent; color: #000000; font-family: ; font-size: 15px; line-height: 115%; text-align: left; text-decoration: none; vertical-align: auto;">**<span style="background-color: transparent; color: #000000; font-family: ; font-size: 15px; text-align: left; text-decoration: none; vertical-align: auto;">if **(Compra<500) <span style="background-color: transparent; color: #000000; font-family: Times New Roman; font-size: 16px; text-align: left; text-decoration: none; vertical-align: auto;"><span style="background-color: transparent; color: #000000; font-family: ''; font-size: 15px; line-height: 115%; text-align: left; text-decoration: none; vertical-align: auto;">Total=Compra; <span style="background-color: transparent; color: #000000; font-family: Times New Roman; font-size: 16px; text-align: left; text-decoration: none; vertical-align: auto;"><span style="background-color: transparent; color: #000000; font-family: ; font-size: 15px; line-height: 115%; text-align: left; text-decoration: none; vertical-align: auto;">**<span style="background-color: transparent; color: #000000; font-family: ; font-size: 15px; text-align: left; text-decoration: none; vertical-align: auto;">else ** <span style="background-color: transparent; color: #000000; font-family: Times New Roman; font-size: 16px; text-align: left; text-decoration: none; vertical-align: auto;"><span style="background-color: transparent; color: #000000; font-family: ''; font-size: 15px; line-height: 115%; text-align: left; text-decoration: none; vertical-align: auto;">{ <span style="background-color: transparent; color: #000000; font-family: Times New Roman; font-size: 16px; text-align: left; text-decoration: none; vertical-align: auto;"><span style="background-color: transparent; color: #000000; font-family: ; font-size: 15px; line-height: 115%; text-align: left; text-decoration: none; vertical-align: auto;">**<span style="background-color: transparent; color: #000000; font-family: ; font-size: 15px; text-align: left; text-decoration: none; vertical-align: auto;">if **(Compra <1000) <span style="background-color: transparent; color: #000000; font-family: Times New Roman; font-size: 16px; text-align: left; text-decoration: none; vertical-align: auto;"><span style="background-color: transparent; color: #000000; font-family: ''; font-size: 15px; line-height: 115%; text-align: left; text-decoration: none; vertical-align: auto;">Total = Compra-Compra*0.05; <span style="background-color: transparent; color: #000000; font-family: Times New Roman; font-size: 16px; text-align: left; text-decoration: none; vertical-align: auto;"><span style="background-color: transparent; color: #000000; font-family: ; font-size: 15px; line-height: 115%; text-align: left; text-decoration: none; vertical-align: auto;">**<span style="background-color: transparent; color: #000000; font-family: ; font-size: 15px; text-align: left; text-decoration: none; vertical-align: auto;">else ** <span style="background-color: transparent; color: #000000; font-family: Times New Roman; font-size: 16px; text-align: left; text-decoration: none; vertical-align: auto;"><span style="background-color: transparent; color: #000000; font-family: ''; font-size: 15px; line-height: 115%; text-align: left; text-decoration: none; vertical-align: auto;">{ <span style="background-color: transparent; color: #000000; font-family: Times New Roman; font-size: 16px; text-align: left; text-decoration: none; vertical-align: auto;"><span style="background-color: transparent; color: #000000; font-family: ; font-size: 15px; line-height: 115%; text-align: left; text-decoration: none; vertical-align: auto;">**<span style="background-color: transparent; color: #000000; font-family: ; font-size: 15px; text-align: left; text-decoration: none; vertical-align: auto;">if **(Compra<7000) <span style="background-color: transparent; color: #000000; font-family: Times New Roman; font-size: 16px; text-align: left; text-decoration: none; vertical-align: auto;"><span style="background-color: transparent; color: #000000; font-family: ''; font-size: 15px; line-height: 115%; text-align: left; text-decoration: none; vertical-align: auto;">Total = Compra-Compra*0.11; <span style="background-color: transparent; color: #000000; font-family: Times New Roman; font-size: 16px; text-align: left; text-decoration: none; vertical-align: auto;"><span style="background-color: transparent; color: #000000; font-family: ; font-size: 15px; line-height: 115%; text-align: left; text-decoration: none; vertical-align: auto;">**<span style="background-color: transparent; color: #000000; font-family: ; font-size: 15px; text-align: left; text-decoration: none; vertical-align: auto;">else ** <span style="background-color: transparent; color: #000000; font-family: Times New Roman; font-size: 16px; text-align: left; text-decoration: none; vertical-align: auto;"><span style="background-color: transparent; color: #000000; font-family: ''; font-size: 15px; line-height: 115%; text-align: left; text-decoration: none; vertical-align: auto;">{ <span style="background-color: transparent; color: #000000; font-family: Times New Roman; font-size: 16px; text-align: left; text-decoration: none; vertical-align: auto;"><span style="background-color: transparent; color: #000000; font-family: ; font-size: 15px; line-height: 115%; text-align: left; text-decoration: none; vertical-align: auto;">**<span style="background-color: transparent; color: #000000; font-family: ; font-size: 15px; text-align: left; text-decoration: none; vertical-align: auto;">if **(Compra<1500) <span style="background-color: transparent; color: #000000; font-family: Times New Roman; font-size: 16px; text-align: left; text-decoration: none; vertical-align: auto;"><span style="background-color: transparent; color: #000000; font-family: ''; font-size: 15px; line-height: 115%; text-align: left; text-decoration: none; vertical-align: auto;">Total = Compra -Compra*0.18; <span style="background-color: transparent; color: #000000; font-family: Times New Roman; font-size: 16px; text-align: left; text-decoration: none; vertical-align: auto;"><span style="background-color: transparent; color: #000000; font-family: ; font-size: 15px; line-height: 115%; text-align: left; text-decoration: none; vertical-align: auto;">**<span style="background-color: transparent; color: #000000; font-family: ; font-size: 15px; text-align: left; text-decoration: none; vertical-align: auto;">else ** <span style="background-color: transparent; color: #000000; font-family: Times New Roman; font-size: 16px; text-align: left; text-decoration: none; vertical-align: auto;"><span style="background-color: transparent; color: #000000; font-family: ''; font-size: 15px; line-height: 115%; text-align: left; text-decoration: none; vertical-align: auto;">Total = Compra-Compra*0.25; <span style="background-color: transparent; color: #000000; font-family: Times New Roman; font-size: 16px; text-align: left; text-decoration: none; vertical-align: auto;"><span style="background-color: transparent; color: #000000; font-family: ''; font-size: 15px; line-height: 115%; text-align: left; text-decoration: none; vertical-align: auto;">} <span style="background-color: transparent; color: #000000; font-family: Times New Roman; font-size: 16px; text-align: left; text-decoration: none; vertical-align: auto;"><span style="background-color: transparent; color: #000000; font-family: ''; font-size: 15px; line-height: 115%; text-align: left; text-decoration: none; vertical-align: auto;">} <span style="background-color: transparent; color: #000000; font-family: Times New Roman; font-size: 16px; text-align: left; text-decoration: none; vertical-align: auto;"><span style="background-color: transparent; color: #000000; font-family: ''; font-size: 15px; line-height: 115%; text-align: left; text-decoration: none; vertical-align: auto;">} <span style="background-color: transparent; color: #000000; font-family: Times New Roman; font-size: 16px; text-align: left; text-decoration: none; vertical-align: auto;"><span style="background-color: transparent; color: #000000; font-family: ; font-size: 15px; line-height: 115%; text-align: left; text-decoration: none; vertical-align: auto;">cout<<” <span style="background-color: transparent; color: #ff0000; font-family: ; font-size: 15px; line-height: 115%; text-align: left; text-decoration: none; vertical-align: auto;">\n\n El monto a pagar es <span style="background-color: transparent; color: #000000; font-family: ; font-size: 15px; line-height: 115%; text-align: left; text-decoration: none; vertical-align: auto;"> “<<Total<<” <span style="background-color: transparent; color: #ff0000; font-family: ; font-size: 15px; line-height: 115%; text-align: left; text-decoration: none; vertical-align: auto;"> pesos <span style="background-color: transparent; color: #000000; font-family: ''; font-size: 15px; line-height: 115%; text-align: left; text-decoration: none; vertical-align: auto;">“<<endl; <span style="background-color: transparent; color: #000000; font-family: Times New Roman; font-size: 16px; text-align: left; text-decoration: none; vertical-align: auto;"><span style="background-color: transparent; color: #000000; font-family: ; font-size: 15px; line-height: 115%; text-align: left; text-decoration: none; vertical-align: auto;">cout<<” <span style="background-color: transparent; color: #ff0000; font-family: ; font-size: 15px; line-height: 115%; text-align: left; text-decoration: none; vertical-align: auto;">\n Gracias por su compra :p\n\n <span style="background-color: transparent; color: #000000; font-family: ''; font-size: 15px; line-height: 115%; text-align: left; text-decoration: none; vertical-align: auto;">“; <span style="background-color: transparent; color: #000000; font-family: Times New Roman; font-size: 16px; text-align: left; text-decoration: none; vertical-align: auto;"><span style="background-color: transparent; color: #000000; font-family: ''; font-size: 15px; line-height: 115%; text-align: left; text-decoration: none; vertical-align: auto;">system(“PAUSE”); <span style="background-color: transparent; color: #000000; font-family: Times New Roman; font-size: 16px; text-align: left; text-decoration: none; vertical-align: auto;"><span style="background-color: transparent; color: #000000; font-family: ; font-size: 15px; line-height: 115%; text-align: left; text-decoration: none; vertical-align: auto;">**<span style="background-color: transparent; color: #000000; font-family: ; font-size: 15px; text-align: left; text-decoration: none; vertical-align: auto;">return **EXIT_SUCCESS; <span style="background-color: transparent; color: #000000; font-family: Times New Roman; font-size: 16px; text-align: left; text-decoration: none; vertical-align: auto;"><span style="background-color: transparent; color: #000000; font-family: ''; font-size: 15px; line-height: 115%; text-align: left; text-decoration: none; vertical-align: auto;">} <span style="background-color: transparent; color: #000000; font-family: Times New Roman; font-size: 16px; text-align: left; text-decoration: none; vertical-align: auto;"><span style="background-color: transparent; color: #000000; font-family: ; font-size: 15px; line-height: 115%; text-align: left; text-decoration: none; vertical-align: auto;"><span style="background-color: transparent; color: #0000ff; font-family: ; font-size: 15px; text-align: left; text-decoration: underline; vertical-align: auto;">[|DESCARGAR CODIGO FUENTE .CPP] <span style="background-color: transparent; color: #000000; font-family: Times New Roman; font-size: 16px; text-align: left; text-decoration: none; vertical-align: auto;"> <span style="color: #000080; font-family: 'Comic Sans MS',cursive; font-size: 130%;"> Y por si lo anterior les pareció aburrido :), abajo encontrarán unos links de unos tutoriales para que entiendan como se programa con estas ESTRUCTURAS. <span style="background-color: transparent; color: #000000; font-family: Times New Roman; font-size: 16px; text-align: left; text-decoration: none; vertical-align: auto;"><span style="background-color: transparent; color: #000000; font-family: 'Arial Black',Gadget,sans-serif; font-size: 16px; text-align: left; text-decoration: none; vertical-align: auto;"><span style="background-color: transparent; color: #810081; font-family: 'Arial Black',Gadget,sans-serif; font-size: 16px; text-align: left; text-decoration: underline; vertical-align: auto;">[|while]   <span style="background-color: transparent; color: #000000; font-family: Times New Roman; font-size: 16px; text-align: left; text-decoration: none; vertical-align: auto;">[|For] <span style="background-color: transparent; color: #000000; font-family: Times New Roman; font-size: 16px; text-align: left; text-decoration: none; vertical-align: auto;">[|Condicion o Seleccion varias]
 * < <span style="background-color: transparent; color: #000000; font-family: Times New Roman; font-size: 16px; line-height: normal; margin-bottom: 0pt; text-align: left; text-decoration: none; vertical-align: auto;">**<span style="background-color: transparent; color: #000000; font-family: Times New Roman; font-size: 16px; text-align: left; text-decoration: none; vertical-align: auto;">Ingeniería ** ||< <span style="background-color: transparent; color: #000000; font-family: Times New Roman; font-size: 16px; line-height: normal; margin-bottom: 0pt; text-align: left; text-decoration: none; vertical-align: auto;">**<span style="background-color: transparent; color: #000000; font-family: Times New Roman; font-size: 16px; text-align: left; text-decoration: none; vertical-align: auto;">Semestre > 6 y Promedio >= 8.8 ** ||
 * < <span style="background-color: transparent; color: #000000; font-family: Times New Roman; font-size: 16px; line-height: normal; margin-bottom: 0pt; text-align: left; text-decoration: none; vertical-align: auto;">**<span style="background-color: transparent; color: #000000; font-family: Times New Roman; font-size: 16px; text-align: left; text-decoration: none; vertical-align: auto;">Medicina ** ||< <span style="background-color: transparent; color: #000000; font-family: Times New Roman; font-size: 16px; line-height: normal; margin-bottom: 0pt; text-align: left; text-decoration: none; vertical-align: auto;">**<span style="background-color: transparent; color: #000000; font-family: Times New Roman; font-size: 16px; text-align: left; text-decoration: none; vertical-align: auto;">Semestre >=6 y Promedio > 8.5 ** ||
 * < <span style="background-color: transparent; color: #000000; font-family: Times New Roman; font-size: 16px; line-height: normal; margin-bottom: 0pt; text-align: left; text-decoration: none; vertical-align: auto;">**<span style="background-color: transparent; color: #000000; font-family: Times New Roman; font-size: 16px; text-align: left; text-decoration: none; vertical-align: auto;">Licenciatura ** ||< <span style="background-color: transparent; color: #000000; font-family: Times New Roman; font-size: 16px; line-height: normal; margin-bottom: 0pt; text-align: left; text-decoration: none; vertical-align: auto;">**<span style="background-color: transparent; color: #000000; font-family: Times New Roman; font-size: 16px; text-align: left; text-decoration: none; vertical-align: auto;">Semestre > 5 y Promedio >=8.3 ** ||
 * < <span style="background-color: transparent; color: #000000; font-family: Times New Roman; font-size: 16px; line-height: normal; margin-bottom: 0pt; text-align: left; text-decoration: none; vertical-align: auto;">**<span style="background-color: transparent; color: #000000; font-family: Times New Roman; font-size: 16px; text-align: left; text-decoration: none; vertical-align: auto;">Técnico ** ||< <span style="background-color: transparent; color: #000000; font-family: Times New Roman; font-size: 16px; line-height: normal; margin-bottom: 0pt; text-align: left; text-decoration: none; vertical-align: auto;">**<span style="background-color: transparent; color: #000000; font-family: Times New Roman; font-size: 16px; text-align: left; text-decoration: none; vertical-align: auto;">Semestre >=3 y Promedio >=7.8 ** ||