Loading collection data...
Collections are a way for you to organize kata so that you can create your own training routines. Every collection you create is public and automatically sharable with other warriors. After you have added a few kata to a collection you and others can train on the kata contained within the collection.
Get started now by creating a new collection.
No, you're wrong, you can see my solution works with a different formula.
got the same error in C++. description could be updated to w / h / h since that is the only formula that works
.
wow all same idea :P plus all variables as well
why same idea :P
oh yeah now i see what i did wrong, i'm just dumb. thanks
That is difficult but good one
Task say that "sorted in ascending order!"
same idea :)
look like my idea :P
I can not pass for big Number !!
This comment is hidden because it contains spoiler information about the solution
height*height
does calculate the square ofheight
in JS (assuming thatheight
is a number), so the problem must be elsewhere.Thanks for getiing back to me so quickly! I am using Javascript, and I am trying to calculate the square of the height. I tried "height*height",but that did't work. However, using "height**2" does work. Do you know why that is?
Please don't raise issues so lightly, if you don't know, it's not an issue. We don't know what you are refering to, which language you are using, etc. See there: https://docs.codewars.com/training/troubleshooting
Is it error?? height* height is not working..