The case when k>l

When the k is greater than l then what condition should be
use k=k>l?l:k or k=k%l
With both these I am getting a few errors

This is the code that I had an issue with kindly help me figure out what is the issue for getting RUN issues

Hi… so when k > l do k = k%l…
refer to my solution…

I hope I’ve cleared your doubt. I ask you to please rate your experience here
Your feedback is very important. It helps us improve our platform and hence provide you
the learning experience you deserve.

On the off chance, you still have some questions or not find the answers satisfactory, you may reopen
the doubt.