Skip to content
Snippets Groups Projects
Commit f46a1637 authored by Jon's avatar Jon
Browse files

Fix computation error for success rate in Task 2

parent cced6b43
No related branches found
No related tags found
No related merge requests found
......@@ -356,7 +356,7 @@ class Task2 {
(result) => {
scoreElement.innerHTML = `
<h4>Task 2</h4>
${result} successful teleportations out of 3 (${Math.round((result / 6)*100)}% success rate)
${result} successful teleportations out of 3 (${Math.round((result / 3)*100)}% success rate)
`;
}
).catch(
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment