In case you're talking to me, the answer is no. I'm a Computer Science student that actually knwos math
This comment is hidden because it contains spoiler information about the solution
you are correct. that part is redundant. also, one can terminate the program after the first text case and not even test for the second
This is VERY slow. You do 2 checks, have too many curly braces, don't use the boolean property of the parameter etc.
You don't need the curly braces. Nice solution.
Same goes for mine.
Loading collection data...
In case you're talking to me, the answer is no. I'm a Computer Science student that actually knwos math
This comment is hidden because it contains spoiler information about the solution
you are correct. that part is redundant. also, one can terminate the program after the first text case and not even test for the second
This is VERY slow. You do 2 checks, have too many curly braces, don't use the boolean property of the parameter etc.
You don't need the curly braces. Nice solution.
Same goes for mine.