Lyx How To Write Nested If Else Statement Inside Function Tex

Lyx How To Write Nested If Else Statement Inside Function Tex