Jensen's Device: Difference between revisions
Content added Content deleted
No edit summary |
No edit summary |
||
Line 434: | Line 434: | ||
And another obvious variation here would be turning the expression into a named entity (if it has some lasting usefulness). |
And another obvious variation here would be turning the expression into a named entity (if it has some lasting usefulness). |
||
⚫ | |||
⚫ | |||
⚫ | |||
⚫ | |||
⚫ | |||
⚫ | |||
⚫ | |||
⚫ | |||
⚫ | |||
⚫ | |||
⚫ | |||
⚫ | |||
⚫ | |||
=={{header|Java}}== |
=={{header|Java}}== |
||
Line 470: | Line 452: | ||
</lang> |
</lang> |
||
The program prints '5.17737751763962'. |
The program prints '5.17737751763962'. |
||
⚫ | |||
⚫ | |||
⚫ | |||
⚫ | |||
⚫ | |||
⚫ | |||
⚫ | |||
⚫ | |||
⚫ | |||
⚫ | |||
⚫ | |||
⚫ | |||
⚫ | |||
=={{header|Joy}}== |
=={{header|Joy}}== |