Cognizant interview question

Odd even program Synchronous motor