IGATE Interview Question

solve an algebra maths through c program, that was complex equations given, so i faced it difficult to crack it.