Agnisys Interview Question

Make regression program with given data?