This may be a silly question but I am pretty new to programming. Our teacher gave us an assignment where we are suppose to utilize the expression:

where t, g, and a are all integers. I was wondering how can I get the absolute value of 12-t? I've searched the reference but it's only telling me how to get the absolute value of a single number, and not really an expression.Code:totalTime = (12 | 12 t |)*g/a;