24 октября 2022
Chingangbam D-pak Angomhow do I solve this?
Equation of a line is y = mx + c. m is the slope and c is the y intercept.
Chingangbam D-pak Angomsince its starting ..we don’t really need to define a function right?
Nope. The use of function is when you wanna use code repeatedly.
TheBat37Nope. The use of function is when you wanna use code repeatedly.
You define a function and instead of repeating the code, you call the function again and again. Here is is not needed.
Chingangbam D-pak Angomm i doin it right?
Since you are staring out, this is perfect. This can be modified as like the user entering the equation and you prepare a program that automates these tasks you wrote which is a bit advanced. After learning some more concepts come back and try to do it😊