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.
To pick up a draggable item, press the space bar.
While dragging, use the arrow keys to move the item.
Press space again to drop the item in its new position, or press escape to cancel.
Tutto è chiaro?
Grazie per i tuoi commenti!
Sezione 2. Capitolo 9
Chieda ad AI
Chieda pure quello che desidera o provi una delle domande suggerite per iniziare la nostra conversazione