Syncfusion Interview Question

Conversion, program to solve condition problems