Documentos de Académico
Documentos de Profesional
Documentos de Cultura
GRUPO
203036_86
PASO4 – PRACTICA 2
TUTOR:
JUAN MONROY
REALIZADO POR:
JOSÉ GUSTAVO DUCÓN PÉREZ 1052020929
if c==1
disp('NEGRO');
end
if c >=3
if valores(3) >=54
valores(2)=valores(2)+1;
end
end
%segunda franja
if c>=2
if valores(2)==48
disp('NEGRO');
end
if valores(2)==49
disp('CAFE');
end
if valores(2)==50
disp('ROJO');
end
if valores(2)==51
disp('NARANJA');
end
if valores(2)==52
disp('AMARILLO');
end
if valores(2)==53
disp('VERDE');
end
if valores(2)==54
disp('AZUL');
end
if valores(2)==55
disp('VIOLETA');
end
if valores(2)==56
disp('GRIS');
end
if valores(2)==57
disp('BLANCO');
end
end
%tercera franja
if c==1
disp('DORADO');
end
if c==2
disp('NEGRO');
end
if c==3
disp('CAFE');
end
if c==4
disp('ROJO');
end
if c==5
disp('NARANJA');
end
if c==6
disp('AMARILLO');
end
if c==7
disp('VERDE');
end
if c==8
disp('AZUL');
end
if c==9
disp('VIOLETA');
end
if c==10
disp('GRIS');
end
if c==1
disp('BLANCO');
end