Shamsudeen Akanbi wrote:I mean how do i start inputting the values of x in my program so that the dependent variable y gets squared, i don't want to pass it in a method.
Im not sure what exactly your question is. If you know what x is, you solve the equation for y and then calculate y.
Now you have both values and can plot 1 point, for each pair for x and y.
Java can do that for sure.
About the plotting: That is very unclear. Are you supposed to plot this as a textfile, where points of the parabol are represented by the character 'D'?