Como dibujar un triangulo invertido en turbo pascal y su codificación
Respuestas a la pregunta
Contestado por
0
Respuesta:
program triangulo;
uses crt;
var
i,n,CONT:integer;
begin
CONT:=1;
writeln ('introduzca la longitud');
readln (n);
writeln;
writeln;
while (CONT<=n) do
begin
for i:=1 to CONT do
write ('0');
writeln;
CONT:=CONT+1;
end;
readln;
end.
Otras preguntas
Castellano,
hace 1 mes
Matemáticas,
hace 1 mes
Inglés,
hace 1 mes
Historia,
hace 2 meses
Matemáticas,
hace 2 meses
Historia,
hace 7 meses
Inglés,
hace 7 meses