Hola, te envió el código en Dev C + + = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = Variables utilizadas = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = suma = > Para calcular la suma total de los 10 sueldos que se van a ingresar.
I = > Variable utilizada en el ciclo for, para contar las vueltas que dará el ciclo, va del 1 al 10.
X = > Sueldo del trabajador.
May = > Mayor, para calcular el numero mayor de los 10 sueldos ingresados.
Prom = > Promedio, calcular el promedio final dividiendo la suma total entre la cantidad de trabajadores.
= = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = Código en C + + = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = =
#include
using namespace std ;
int main(){
int suma, i ;
double x, may, prom ;
suma = 0 ; for(i = 1 ; imay){ may = x ; } } suma = suma + x ;
} prom = suma / 10 ; cout.