Begin
Input calcium
temperature
Add 273.5
Farenheit
temperature == calcium + 273.5
Output farengeit
t
End
Begin
Input the
length of the cube
Volume of
the cube == length^3
Output
volume
End
Begin
Input radius
of the sphere
Volume of
the sphere == ¾*(3.14*radius^3)
Output volume
of the sphere
End
Begin
Input
weather
If weather
== cold
Then output
== wear warm cloth
Else have a
shower endif
End
Begin
Input salary
Pension ==
salary * 0.18
Then output
== salary * 0.18
End
Begin
Input the
mark
If mark ==” 5” endif
Then output
== “A”
If mark ==” 4” endif
Then output
== “B”
End
Комментариев нет:
Отправить комментарий