- 1

Please help me solve the questions

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

30th May 2021, 5:32 AM
B.H.Dashini Dilsha Shaneshani De Silva
B.H.Dashini Dilsha Shaneshani De Silva - avatar
3 Respuestas
30th May 2021, 6:35 AM
Naryani Priya [DMS OFF 📴]
Naryani Priya [DMS OFF 📴] - avatar
+ 2
Where is your attempts?
30th May 2021, 5:39 AM
A͢J
A͢J - avatar
0
40 miles are covered in 1 hour = 60 min 80 => 120 20 => 30 150 => 225 that's very basic maths ^^ show your attempt if your problem is in impkementing the code for applying the easy formula ;P
30th May 2021, 5:42 AM
visph
visph - avatar