Can someone help me I'm a beginner in JavaScript | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

Can someone help me I'm a beginner in JavaScript

You need to plan a road trip. You are traveling at an average speed of 40 miles an hour. Given a distance in miles as input (the code to take input is already present), output to the console the time it will take you to cover it in minutes. Sample Input: 150 Sample Output: 225

24th Oct 2022, 12:23 PM
Sidney Masilela
Sidney Masilela - avatar
3 Answers
+ 4
Please avoid writing code in the post tags. Tags serve a different purpose in discussion forum. https://code.sololearn.com/W3uiji9X28C1/?ref=app
24th Oct 2022, 1:27 PM
Ipang
24th Oct 2022, 1:50 PM
JaScript
JaScript - avatar
+ 2
Hi! What help do you need? at what stage of this task are you stuck?
24th Oct 2022, 1:21 PM
Yaroslav Vernigora
Yaroslav Vernigora - avatar