|
If you can predict 99.99% the output by calculating the 2 input signals,
then you can use switch statement on it,
if statement is also applicable but it adds more lines of code..(for me)....
__________________
A specific, detailed, simple, well elaborated, and "tested before asking" question may gather more quick replies. hopefully
|