0

Working on an end of module project. It is suppose to show answer for 2 different scenarios. I'm able to display only for 1.

19th Jan 2021, 10:23 PM
Joaquín Augusto Henríquez Chávez
Joaquín Augusto Henríquez Chávez - avatar
6 odpowiedzi
+ 1
Ok..
19th Jan 2021, 10:44 PM
VṢtēphen
VṢtēphen - avatar
+ 1
The specific test cases are irrelevant to the task. The Code Coach supplies the input value, and the code is already given to get the input value into the distance variable. Make the program do the calculation based on the value stored in the distance variable, and print the result.
20th Jan 2021, 12:01 AM
Brian
Brian - avatar
0
Provide more context. What end module? Provide your code attempt.
19th Jan 2021, 10:54 PM
Chris Coder
Chris Coder - avatar
0
Somebody knows how to show the answers for 2 different scenarios without one affecting the other one?
19th Jan 2021, 10:55 PM
Joaquín Augusto Henríquez Chávez
Joaquín Augusto Henríquez Chávez - avatar
0
It is a travel planer exercise for JS
19th Jan 2021, 10:56 PM
Joaquín Augusto Henríquez Chávez
Joaquín Augusto Henríquez Chávez - avatar
0
Thanks for the advice.
20th Jan 2021, 4:51 AM
Joaquín Augusto Henríquez Chávez
Joaquín Augusto Henríquez Chávez - avatar