_**//switch case of if, if else and else as default **_
function Major(Engineering){
switch(Engineering){
case 'Software Engineering':
return 'Its a course of heroes, You can be proud of!'
case 'Cevil Engineering' :
return 'Oops! that deals with construction!'
default :
return `Which type of ${Engineering}?`
}
}

For further actions, you may consider blocking this person and/or reporting abuse
Top comments (0)