0
Sololearn trip planner
This particular task has a bug and wont let me procede even after ive done the task in 4 different ways
4 odpowiedzi
+ 9
hame began ,
to get help from the community, you should first put some effort in a proper task description.
▪︎please mention the programming language you are going to use
▪︎mention the exercise / tutorial name and number
▪︎show us your attempt(s) so that we can give you helpful hints.
thanks!
0
Trip planner language javascript and the code
function main() {
var distance = parseInt(readLine(), 10);
//your code goes here
var hours = (distance / 40);
var min=60;
var minutes=hours × min;
return minutes;
}
0
Hi,
I am able to get output for 590, 100 inputs, but next to that, there are few more locked input values available, could not able unlock those.
Anyone observed this problem? please guide me any solution
0
function main() {
var distance = parseInt(readLine(), 10);
//your code goes here
var hours = (distance / 40);
var mins= hours * 60;
console.log(mins);
}