0

How do i use if statements to find other values in this calculator?

i want this calculator to be able to find the missing value... and need help on how to do it. for example if u put in the distance and velocity values it should find the time value. https://code.sololearn.com/W8u1mr7rCI7O/?ref=app

6th Dec 2017, 7:07 PM
Kainth
Kainth - avatar
5 odpowiedzi
0
yeah i know that part, but i dont know where to put the "if" statements and like how to organize the code properly so that it works
6th Dec 2017, 9:01 PM
Kainth
Kainth - avatar
0
can you give me an example of a code where it works?
6th Dec 2017, 9:07 PM
Kainth
Kainth - avatar
0
thanks ill try it out an see if it works out
6th Dec 2017, 11:27 PM
Kainth
Kainth - avatar
0
Yo i still cant get this to work idk why https://code.sololearn.com/WMi8GAosWpPv/?ref=app
11th Dec 2017, 11:38 PM
Kainth
Kainth - avatar
0
yeah dude still doesnt work, i dont understand whats wrong so its got me confused
19th Dec 2017, 1:10 AM
Kainth
Kainth - avatar