Question about my code regarding magic eight ball project

Guys can someone check my code from Magic Eight Ball project please.
My code seems to run fine but I started wondering if there is some shorter way of performing same code or my code is ok like that, please advice with this one. I used if…else statement there, please see uploaded photo.

You could keep the responses in an array and then assign eightball to responses[randomNumber]