Stay Hydrated! – Codewars

Stay Hydrated! – Codewars

Today I completed the Stay Hydrated! kata on Codewars!

Looking at the code, it was easy to see what I had to do: multiply 0.5 by the provided hours and return the rounded result. Thus, I wrote the code to do this, and it worked!

Remember: stay hydrated!

Bug Zero Icon

OUR NEWSLETTER