Box the compass: Difference between revisions
Content added Content deleted
m (→{{header|Picat}}: Added {{trans}} and {{out}}) |
|||
Line 5,369: | Line 5,369: | ||
=={{header|Picat}}== |
=={{header|Picat}}== |
||
{{trans|Nim}} |
|||
(Inspired by the Nim solution.) |
|||
<lang Picat>go => |
<lang Picat>go => |
||
Names = ["North", "North by east", "North-northeast", "Northeast by north", |
Names = ["North", "North by east", "North-northeast", "Northeast by north", |
||
Line 5,389: | Line 5,389: | ||
nl.</lang> |
nl.</lang> |
||
{{out}} |
|||
Output: |
|||
<pre> 1 North 0.00 |
<pre> 1 North 0.00 |
||
2 North by east 16.87 |
2 North by east 16.87 |