Y= AX + B

Write a program for the calculator which:
• Generates and displays suitable integer values of A and B:

• Requests the student to input the coefficient of Y and the constant term in the re arranged formula;

• Checks the students answers;

• Outputs a relevant comment to help the student improve, or congratulates them on a correct answer.

The program should be at least 10 to 30 lines long.

Has any1 got an graphical calculator and knows how to work this out on it.. can you help me please.. im really stuck ..