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.
this is smooooth
Not for all 😵
The tests seem to work correctly now.
Because without ::real the result of division becomes integer.
Why?
I'm familar with operators for the most part, just have not implemented them like in your solution. Still need some work on the Null-coalescing operator ('??') and the conditional operator ('?:') though.
I know that boolean values are either true or false.
Though I had it mixed up in my orignal comment, but the default value of a boolean is false.
https://docs.microsoft.com/en-us/dotnet/csharp/language-reference/keywords/default-values-table
So, I was a tad confused when trying to explain out your solution to myself.
no, boolean values are EITHER
true
ORfalse
. you should also study C# operators (of all kinds)This works, because bools are "automatically" set to 'true' right?
So, it's reading employed == true and vaction not == true, then outcome is true (set alarm)?
This comment is hidden because it contains spoiler information about the solution
Can anyone give quick explantion to this one?
Thanks!
I just solved it in C# (simply converted my solution from C) and it worked just fine...
Edit: same with js
OK. Please give details so it can be fixed
The C# translation is not working as on JavaScript.
This is a only math solution!!!
This comment is hidden because it contains spoiler information about the solution
Loading more items...