var trouble = prompt('What is wrong?');
switch (trouble) {
case 1:
console.log('check your cabel');
break;
case 2:
console.log('check your router');
break;
case 3:
console.log('reload your PC');
break;
default:
console.log('uncorrect trouble');
break;
}