Conditionals 3 skill test

The code below is not working, please help

let response;
let score = -1;
let machineActive = true;

if(machineActive) {
// Add your code here
switch( score ){
case score < 0 || score > 100:
response = ‘This is not possible, an error has occurred.’;
break;

}
} else {
response = ‘The machine is turned off. Turn it on to process your score.’;
}

Hello @Nkululeko_Cele

check this post Help with Conditionals 3 test SWITCH statements please?

it has the same topic you asked for

hope that help and have a nice day :slight_smile: