-
Notifications
You must be signed in to change notification settings - Fork 0
/
task.html
13 lines (13 loc) · 1.12 KB
/
task.html
1
2
3
4
5
6
7
8
9
10
11
12
13
<b>Underworld</b> <a class=right href="https://hyperskill.org/learn/step/7076">Open on JetBrains Academy</a>
<br><br>
<html>
<head></head>
<body>
<p>Charon the Ferryman carries souls across the river Styx to the world of the dead but does so only for a fee. It's a business after all.</p>
<p>Check whether the recently deceased has a coin, if any, print <code class="java">Welcome to Charon's boat!</code></p>
<p>The variable <code class="java">coin</code> stores a Boolean value, so it qualifies as a condition. If <code class="java">coin</code> has False value, alas! There's nothing to be done about it.</p>
<p>The variable <code class="java">coin</code> is already defined. So you <em>DON'T</em> need to read its value from the input.</p>
<p>Lastly, let's warn <samp>everyone</samp> in the underworld (both those in the boat and those overboard) by printing the message <code class="java">There is no turning back.</code></p>
</body>
</html><br><br><font color="gray">Memory limit: 256 MB</font><br><font color="gray">Time limit: 15 seconds</font><br><br>
<a href="https://hyperskill.org/learn/step/5953">Show topic summary</a>