Horizontal sundial calculations: Difference between revisions
Content added Content deleted
(→{{header|ANSI BASIC}}: Added a solution.) |
m (→{{header|ANSI BASIC}}: lang="basic") |
||
Line 348: | Line 348: | ||
{{trans|ALGOL-68|ANSI BASIC has a possibility to use degrees in calculations.}} |
{{trans|ALGOL-68|ANSI BASIC has a possibility to use degrees in calculations.}} |
||
{{works with|Decimal BASIC}} |
{{works with|Decimal BASIC}} |
||
<syntaxhighlight lang="basic> |
<syntaxhighlight lang="basic"> |
||
100 REM Horizontal sundial calculations |
100 REM Horizontal sundial calculations |
||
110 INPUT PROMPT "Enter latitude => ": Lat |
110 INPUT PROMPT "Enter latitude => ": Lat |