Whats wrong with my code?

I’ve made a little program that’s supposed to convert miles to Kilometers but it converts incorrectly, How do I fix it?
here’s the code:

int main() {

// Add your code below

double miles;

double kilometers;

kilometers = miles * 1.609344;

std::cout << "Enter miles here: ";

std::cin >> miles;

std::cout << miles << " Miles is " <<

kilometers << " Kilometers\n";



kilometers = miles * 1.609344;


std::cin >> miles;

because you want the miles that the user types in to be converted to kilometers.
(The computer needs the number for miles from the user before it would do the appropriate multiplication to get kilometers.)

Oh ok. Thanks!
I was so confused about why It wasn’t working. but now It makes sense.