I am trying to create a flow for following case:
Input value needs to be evaluated for following conditions:
If input value < 22 then multiply input value with 1.25
or if 22 >/= Input value < 55 then multiply input value with 1.15
or if input value >/= 55 then multiply with 1.1
The flow should be able to evaluate input value (which can be any number which user will input) among above 3 condition and then deliver a single output as per the above 3 conditions.
I tried using compose for input value and then used if command in compose . However I am getting error.
I understand that the above problem may be solved with conditional function in power automate but that will consume more API hence thought of going with compose if option to get max benefit in min. steps.
Pls let me know if above problem can be solved using compose function.

Compose function expression used baove:
if(less(outputs('sample'),22),mul(outputs('sample'),1.25),if(lessOrEqualsoutputs('sample'),55,mul(outputs('sample'),1.15),mul(outputs('sample'),1.1)))
