graphics.h help

I have to plot a line equation in c++.. how to do it? i have already drawn the co ordinate axes using the line() function but im unable to move on..

for eg:
enter value of slope (m): 0.5
enter value of the intercept(c): 6
the program should plot the graph of it..
Topic archived. No new replies allowed.