I did all the exercise correctly, but I wasn’t able to pass this one until I changed the declaration from “double length” to “int length”
I thought it was the same, but double handles decimals, why wasn’t the exercise correct with double?
Course: https://www.educative.io/collection/10370001/5692479535841280
Lesson: https://www.educative.io/collection/page/10370001/5692479535841280/6304186360659968