How can I put a message on a screen that is dependent on the combination my form inputs

How can I put a message on a screen that is dependent on the combination my form inputs

I'm struggling to create my first application and would appreciate some guidance. I want o create a small 'expert system' that displays a different answer based on different combinations on inputs.

I can create an entry form easily enough. But I'm lost to know what to do next?

thanks