Test your skills: Conditionals - Task 3

Hello everyone! First of all, take in count that I’m a spanish speaker (sorry) :stuck_out_tongue:
I really don’t understand why I must use the word ‘true’ inside the switch. I tried using the ‘score’ variable but it does not work.

if (machineActive) {
	switch (**true**) {

Thanks for your responses!

Greetings from Argentina

Hi @roque.nicolas.molina

No need to be sorry! :grin:

I tried answering in this recent post:

Does that make it clearer?
Michael

1 Like

Thank you!
It cleared my doubt.
Really apreciate your contributions!

1 Like