Novo curso! Todo programador deveria aprender IA generativa!
Experimente uma aula grƔtis0
Hi Good evening guys can someone teach me this problem because I'm beginner of coding
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
2 Respostas
+ 2
Create a function that takes a single parameter which is the distance
Return the (distance divided by 40) multiplied by 60 since you want it as minutes
+ 1
Thank You sir āŗļø