We use cookies to ensure you have the best browsing experience on our website. Please read our cookie policy for more information about how we use cookies.
Number Line Jumps
Number Line Jumps
Sort by
recency
|
3800 Discussions
|
Please Login in order to post a comment
*in java you dont have to think too much bro :) just convert all parameters int to double and then use this formula : store this (x2-x1)/(v1-v2) in a double type variable and then check for it's (greater than 0 ) || (modulo 1 is == 0 ) or not if its then print yes otherwise no *
Python3
Here is the solution in javascript and python Click Here
Now I get it. I did it in a more "programming" way.