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.
Your statement is just as senseless as your exercise, which is unsurprising. Where are the arguments? Here are mine: you found the formula, you rewrote the formula, done. You don't even need to know syntax for this; for the sake of experiment, I solved this kata in C++ and C# (had issues with C for understandable reasons) despite knowing next to nothing about these languages. Why? Because all that's needed for this kata is the mathematical formula and the syntax of the ternary operator.
this is the dumbest thing i've heard all day, you clearly don't know what programming is all about.
Just another pointless math kata, has nothing to do with programming