Challenge
The distance between New York and San Francisco is 4677.4 km (variable dist_km). You need to convert it into miles (by dividing the dist_mi by km_per_mi). Considering that 1 mile equals approximately 1.609 km (variable km_per_mi), save the result in the dist_mi variable, and output the integer part of the distance in miles.
Obrigado pelo seu feedback!
Pergunte à IA
Pergunte à IA
Pergunte o que quiser ou experimente uma das perguntas sugeridas para iniciar nosso bate-papo
Pergunte-me perguntas sobre este assunto
Resumir este capítulo
Mostrar exemplos do mundo real
Awesome!
Completion rate improved to 4
Challenge
Deslize para mostrar o menu
The distance between New York and San Francisco is 4677.4 km (variable dist_km). You need to convert it into miles (by dividing the dist_mi by km_per_mi). Considering that 1 mile equals approximately 1.609 km (variable km_per_mi), save the result in the dist_mi variable, and output the integer part of the distance in miles.
Obrigado pelo seu feedback!