Unless I'm missing something, the y variable goes on the y axis and the x variable goes on the x axis.
Chat with our AI personalities
.... then your graph is inverted.
Which point is not located on the xaxis or the yaxis of a coordinate grid?Read more:Which_point_is_not_located_on_the_xaxis_or_the_yaxis_of_a_coordinate_grid
It is called the ordinate.
The vertical y axis on the Cartesian plane is both negative and positive
A data member belongs to an object of a class whereas local variable belongs to its current scope. A local variable is declared within the body of a function and can be used only from the point at which it is declared to the immediately following closing brace. A data member is declared in a class definition, but not in the body of any of the class member functions. Data members are accessible to all member function of the class.