Given an integer timer, determine the state of the traffic signal based on the following rules:
Return "Green" if timer is equal to
Return "Orange" if timer is equal to
Return "Red" if timer
Return "Invalid" if timer does not satisfy any of the above conditions.
Constraints:
timer
Given an integer timer, determine the state of the traffic signal based on the following rules:
Return "Green" if timer is equal to
Return "Orange" if timer is equal to
Return "Red" if timer
Return "Invalid" if timer does not satisfy any of the above conditions.
Constraints:
timer