1. ## Matlab Msgbox Help

I am trying to get the variable 'score' to appear after 'Your score was' in the 'ABC' msgbox. How do I do this?
Here is my code:

%tells the user their overall tv knowledge
score=A+B+C;
if ((A+B+C)<=24)&&((A+B+C)>=18)
ABC=msgbox('You are a tv expert. Your score was ');
elseif ((A+B+C)<18)&&((A+B+C)>=9)
elseif ((A+B+C)<9)&&((A+B+C)>=0)
ABC=msgbox('You rarely watch tv. You need to brush up on your tv knowledge. Your score was ');
end

2. Try something like:

Code:
ABC=msgbox(['You are a tv expert. Your score was ' num2str(score)]);
Elbarto