Custom calculator

Hi,

Is it possible to use h5p to create a custom calcultor? 

Let's look at diets for example: I want to ask some questions and present an inline answer.

example question: How much vegtables do you eat in a day? A: none, 2 cups, 4 cups.

For each answer a different output will show up (with a nice graphic). 

I would also like to give a general score, so each answer has a weight. 

Ideas?