Skipping lines

it might be a stupid question, but I don’t know it skip a few lines.
#include

int main(){

int user_name;

int bmi_calculation = 0;

std::cout << “Welcome to KEY!\n”;
std::cout << “Please enter your name: \n”;

std::cin >> user_name;

std::cout << “Welcome to KEY " << user_name << " !\n”;
std::cout << “Thank you for choosing KEY!\n”;
std::cout << “The first step to enhance your health is to know better about ourself.\n”;
std::cout << “Please type in the your details below: \n”;
std::cout << “What is your height(cm): \n”;

int user_weight, user_height;

std::cin >> user_height;

std::cout << “What is your weight(kg): \n”;

std::cin >> user_weight;

bmi_calculation = (user_weight / user_height / user_height) * 10000;

std::cout << "Your BMI is " << bmi_calculation << “\n”;

if (bmi_calculation >= 30) {
std::cout << “You are currently overweight, please aware of your eating habit.\n”;
}
else if (bmi_calculation <= 24) {
std::cout << “You are currently underweight, please aware of your eating habit.\n”;
}

else {
std::cout << “Congratulation you have a health body! Keep it going!\n”;
}

}

I could not get the user to type in their weight and height.

Thank you very much for your time.

you could use "\n\n" to skip one line
or use "\n\n\n" to skip two lines
and so on.

I’d avoid "\n" and instead opt for std::endl. This has the benefit of hightling where those end of lines show up.

You could write your welcome like so:

std::cout << "Welcome to KEY!" << std::endl
    << "Please enter your name: " << std::endl;

If you want more spacing, this approach makes it clear where that’s going on.

std::cout << "Welcome to KEY!" << std::endl
    << "Please enter your name: " << std::endl
    << std::endl;