This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# -*- coding: utf-8 -*- | |
empleados = [ | |
{'nombre':'Pablo', 'sueldo': 3000, 'categoria': 1}, | |
{'nombre':'Jeremias', 'sueldo': 1320.20, 'categoria': 1}, | |
{'nombre':'Sol', 'sueldo': 500.13, 'categoria': 2}, | |
{'nombre':'Tincho', 'sueldo': 5024.9, 'categoria': 2}, | |
{'nombre':'Fede', 'sueldo': 1010.46, 'categoria': 3}, | |
{'nombre':'Lean', 'sueldo': 2534.94, 'categoria': 3}, | |
{'nombre':'Rodri', 'sueldo': 2021.45, 'categoria': 2}, | |
{'nombre':'Ara', 'sueldo': 4531.82, 'categoria': 1}, |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Algoritmo = Sueldos | |
Var | |
int: | |
sueldo_maximo, | |
empleados_2000_categoria_1, empleados_2000_categoria_2, empleados_2000_categoria_3, | |
total_empleados, | |
total_empleados_categoria_1 | |
float: | |
sueldos_2000_categoria_1, sueldos_2000_categoria_2, sueldos_2000_categoria_3, |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include <cstdlib> | |
#include <iostream> | |
using namespace std; | |
int main(int argc, char *argv[]) { | |
int menu;// Categoria del menu | |
int opcion;// Opcion (Compra, Pago, Salir) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
ALGORITMO calcularPromedios | |
var | |
int: | |
cantidadNumeros, numero, suma | |
float: | |
promedio | |
Inicio | |
cantidadNumeros = 0 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include <cstdlib> | |
#include <iostream> | |
using namespace std; | |
int main(int argc, char *argv[]) | |
{ | |
int i, num, sumaDeDivisores; | |
i = 1; | |
num = 6; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
ALGORITMO numeroPerfecto | |
var | |
int: | |
i, num, res, sumaDivisores | |
Inicio | |
i = 1 | |
res = 0 | |
sumaDivisores = 0 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include <cstdlib> | |
#include <iostream> | |
using namespace std; | |
int main(int argc, char *argv[]) | |
{ | |
float nota; | |
char grado[1]; | |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include <cstdlib> | |
#include <iostream> | |
using namespace std; | |
int main(int argc, char *argv[]) | |
{ | |
int opcionElegida; | |
char nombreDelPlaneta[] = "Olmedo"; | |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include <cstdlib> | |
#include <iostream> | |
using namespace std; | |
int main(int argc, char *argv[]) | |
{ | |
float costoEstacionGlew = 0.8; | |
float costoEstacionTemperley = 0.8; | |
float costoEstacionRemediosDeEscalada = 1.2; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Algoritmo: "procesarNotas" | |
var | |
float: | |
promedio_10, promedio_20, promedio_30, | |
nmax_10, nmax_20, nmax_30, | |
promedio_general | |
int: | |
notas_10, notas_20, notas_30, | |
legajo_max_10, legajo_max_20, legajo_max_30, |