+ 1
Math
How do I get this to do math problems for me and is there some way to get it to remember the answers? I'm not trying to cheat on my homework I've just had an idea
23 Respuestas
+ 3
ok, so you wanted to find slope of two points.
interesting idea!!
+ 1
thank you! I see this as a stepping stone to a larger system I want to make one day. Ivebeen imagining that the programming and equations or functions would work together well
+ 1
system.out.println(a+"/"+b)
i hope this is what you want
+ 1
my c++ is better than java
so if you have any doubt in c++ feel free to ask
+ 1
m is the slope. when I did math in high school finding the slope of a line is y2-y1/x2-x1=m
+ 1
ok that's a big aim
good luck man
0
that's not cheating.
moreover if you try to make a program for solving something, you'll understand the problem and the programming language better.
i think you should start working on it.
0
https://code.sololearn.com/cALRoIuLy9vq/?ref=app
so instead of doing system.out.println(m) I did y over x another way because I don't want it to reduce. is there a better way to do this.
0
sorry bro i can't understand your question
0
the answer is 2/1 but it comes out at 2 because it reduces
0
I feel like it is
0
try it in your code
0
it works. it's very similar to my method but with one system printin which is just what I wanted thanks
0
I will. I'm learning c++ too
0
HALP PLEASE
0
please explain, why did you declare
string m = slope
also slope was not declared before it's use in string m
0
nice. I found one called value of too or something. I changed it again because doing m didn't work