Winman Software India Interview Question

Solve the pseudo code of some problems