Hi Im trying to make a graph in the C programming language for Uni Coursework.
The graph should plot the equation Y=X+10 using these inputs
1. original value for X
3. Number of steps
Using *'s for the Y value all other elements should be a " "
the axis should use ¦ (vertical) - (horizontal) + (origin)
I am only allowed to use 1D Arrays and strings.
This means that the X and Y axis will have to be swapped around
If Y goes over 80 then the program should put a ^ character in the 79th element of the array
If Y goes under 0 then the prgram should put a 0 charcter in the 0 element of the array