inequations in formulas question

Re: inequations in formulas question

by Dominique Bauer -
Number of replies: 0
Picture of Documentation writers Picture of Particularly helpful Moodlers Picture of Plugin developers

(for the record)

1 ° _ how to use the conditions if then and if not then in this plugin and especially to solve the inequalities (> and <). if you can offer me an example thank you in advance

Here is a simple example. The XML file is attached below.

c = (a>b) ? (a-b) : ((b>a) ? (b-a) : 0);

ForumQuiz_20191126_1101.png