Utilizând procedura Pătrat, elaboraţi programele necesare pentru desenarea figurilor ce
urmează:
Răspunsuri la întrebare
a)
PROCEDURA Patrat
PAS
ROTIRE
PAS
ROTIRE
PAS
ROTIRE
PAS
ROTIRE
SFIRSITUL PROCEDURII
[
EXECUTA Patrat
SALT
SALT
EXECUTA Patrat
SALT
ROTIRE
SALT
SALT
ROTIRE
ROTIRE
ROTIRE
SALT
EXECUTA Patrat
SALT
SALT
SALT
SALT
]
b)
PROCEDURA Patrat
PAS
ROTIRE
PAS
ROTIRE
PAS
ROTIRE
PAS
ROTIRE
SFIRSITUL PROCEDURII
[
Executa Patrat
SALT
SALT
Executa Patrat
ROTIRE
SALT
SALT
ROTIRE
ROTIRE
ROTIRE
EXECUTA Patrat
SALT
SALT
EXECUTA Patrat
ROTIRE
ROTIRE
SALT
SALT
SALT
SALT
ROTIRE
ROTIRE
EXECUTA Patrat
SALT
SALT
SALT
SALT
SALT
SALT
SALT
SALT
]
c)
PROCEDURA Patrat
PAS
ROTIRE
PAS
ROTIRE
PAS
ROTIRE
PAS
ROTIRE
SFIRSITUL PROCEDURII
[
EXECUTA Patrat
SALT
ROTIRE
SALT
SALT
ROTIRE
ROTIRE
ROTIRE
SALT
EXECUTA Patrat
SALT
ROTIRE
SALT
SALT
ROTIRE
ROTIRE
ROTIRE
SALT
EXECUTA Patrat
SALT
SALT
SALT
]
d)
PROCEDURA Patrat
PAS
ROTIRE
PAS
ROTIRE
PAS
ROTIRE
PAS
ROTIRE
SFIRSITUL PROCEDURII
[
SALT
SALT
SALT
SALT
EXECUTA Patrat
ROTIRE
SALT
ROTIRE
SALT
SALT
ROTIRE
ROTIRE
EXECUTA Patrat
SALT
SALT
SALT
SALT
EXECUTA Patrat
ROTIRE
SALT
ROTIRE
SALT
SALT
SALT
SALT
SALT
SALT
ROTIRE
ROTIRE
EXECUTA Patrat
SALT
SALT
SALT
SALT
SALT
SALT
SALT
SALT
]