Está en la página 1de 3

Mateo Ardila ID: 328296

1. c=102
if c<4998
c=c+3
end if
end
2. s=sumador
c=3
if c<103
c=c+2
end if
and
s=s+c
end
3. c=7
if c<497
c=c+7
end if
end

then

then

then

4. c= contador = numero real ingresado por el usuario


s= sumador
If c= numero par
then
If c>0 then
c=c-2
else
if c<0 then
c=c+2
else
if c=0 then
numero invalido
End if
End if
End if
Else
c=c-1
If c>0 then
c=c-2
else
if c<0 then
c=c+2

end if
end if
End if
And s=s+c
End

5. c=90
a=dato ingresado por el usuario
if c<a then
c=c+90
perform until c>=(a-90)
else
if c>a then
c=c-90
perform until c<=(a+90)
end if
end if
end

6. s=sumar
c=dato ingresado por el usuario
if c<800
then
c=c+9
end if
and
s=s+c
end
7. c=2
s=sumador
if c<100
c=c+2
end if
and
s=s+(c^2)

then

8. s=sumar
c=dato ingresado por el usuario

if c<300
c=c+10
end if
and
s=s+(c^2)
end

then

También podría gustarte