0

Please someone should help me out with this

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 Sep 2022, 12:41 AM
ThankGod ihunwo
ThankGod ihunwo - avatar
3 Answers
+ 2
Hi! What help do you need?
24th Sep 2022, 4:16 AM
Yaroslav Vernigora
Yaroslav Vernigora - avatar
+ 1
Read the explanation part of the question properly
24th Sep 2022, 1:44 AM
AS Raghuvanshi
AS Raghuvanshi - avatar
0
minutes = distance / 40 miles * 60 minutes per hour;
27th Sep 2022, 5:15 AM
Félix Zamdamela
Félix  Zamdamela - avatar