C++ FOR BEGINNERS (2025) - How to make BMI Calculator application PROGRAMMING TUTORIAL

preview_player
Показать описание
Want to learn programming through building fun applications?
Here is a beginner-friendly simple BMI Calculator application written in C++.

📚 Learn how to solve problems and build projects with these Free E-Books ⬇️

Experience the power of practical learning, gain career-ready skills, and start building real applications!
This is a step-by-step course designed to take you from beginner to expert in no time!
💰 Here is a coupon to save 10% on your first payment (CODEBEAUTY_YT10).
Use it quickly, because it will be available for a limited time.

Contents:
00:00 - Intro
08:13 - I couldn't figure out why it didn't work :D
17:24 - I'm overweight?! :O - Bugs also happen!

Follow me on other platforms:
Рекомендации по теме
Комментарии
Автор

📚 Learn how to solve problems and build projects with these Free E-Books ⬇️
Experience the power of practical learning, gain career-ready skills, and start building real applications!
This is a step-by-step course designed to take you from beginner to expert in no time!
💰 Here is a coupon to save 10% on your first payment (CODEBEAUTY_YT10).
Use it quickly, because it will be available for a limited time.

CodeBeauty
Автор

I really fell on the floor laughing at 8:15, thanks for showing that mistakes happen even to the best programmers!

phoebewell
Автор

Thank you for the tutorials! These are making learning C++ a joy.

christianmcdermott
Автор

Love your tutorials! They’re helping me a lot! Also maybe I missed it.. why are you using void main() instead of int main()?

MartinsLicis
Автор

I paused the video after you explained the comment lines then wrote the code by myself. And IT WORKED. Thank you soooo much. This is the firs time I feel like I am learning something rather than copying the instructions from the examples

hazal
Автор

Hi! I'm a foreign learner and tried many many tutorials, but YOU ARE THE BEST. I love how you always start with a flow chart, explain every small thing and your videos are clearly understandable both visually and audibly. I have ADHD and you are the first instructor to get my attention all along. If you'd make tutorials for all programming languages, I'd learn them all. ❤

Tomhawk
Автор

THAT SENSE OF SATISFICATION WHEN CODE GIVES APPROPIATE OUTPUT.

subratadas
Автор

Finally, I have found a C++ teacher from whom I can learn without feeling like my mind is wandering or losing focus. Student from Taiwan.

evilpandah.
Автор

For this tutorial i challenged myself to only use the comments that you provided at the beginning of this tutorial and my understanding of previous tutorials that you taught and wow i did it. You are an awesome teacher, i am grateful.

takwanamusariri
Автор

Subbed because this video saved me lol. I'm just starting programming and couldn't get into the Intro class so I got put straight into C++ and it's pretty overwhelming. I've tried doing tutors but they make me feel stupid talking to them so with videos like this it shows step by step but also even a very smart person like yourself can make mistakes. Thanks again and I'll be going through your videos on my spring break and practicing.

jamezdaham
Автор

This is excellent content. Best of wishes to you, keep up the great work!!

livelearn
Автор

8:56 gave me a good laugh😂 I really enjoy these tutorials :D

TheDora
Автор

Why i am getting your bmi is inf after running program and inputting values please help

BageshwarBalajiWale
Автор

Took me a bit to get right, but I also added a couple features. 1) Enter height in feet and inches and it'll convert for you. 2) It will also tell you how much you need to gain or lose to be in the normal range. (And I know I can delete the brackets but they make the code easier for me to read)

#include <iostream>
using namespace std;


int main()
{
float heightFT;
float heightIN;
float weight;
cout << "Please enter you weight (LBS) then height in feet then inches :";
cin >> weight >> heightFT >> heightIN;
float truHeight = ((heightFT * 12) + heightIN);
float bmi = ((weight / (truHeight * truHeight)) * 703);
float w2liow = ((bmi - 25) * 9.1288);
float w2giuw = ((18.5 - bmi) * 9.3140);



if (bmi < 18.5)
{
cout << "You are underweight, you need to gain ~" << w2giuw;
}
else
{
if (bmi > 25)
{
cout << "Your are overweight, you need to lose ~" << w2liow;
}
else
{
cout << "Your weight is within normal range";
}
}


system("pause>0");
}

jessemoore
Автор

For the English system substitute this formula- Enter weight to the nearest pound and height in inches. BTW, you are a natural teacher and I'm saying this as a Master Degreed educator with 20 years of experience. Excellent videos.

bonk
Автор

I was happy and motivated to learn coding till i tried the program. I'm crying now. Are you happy Saldina?

Thanks for the video. :D

grsrigel
Автор

this may be a dumb question but i was just wondering why you used
void main()
instead of
int main()
????

i get a warning saying
"return type of main should be 'int' instead of 'void'"

jamichaelwright
Автор

I made a bmi calculator with pounds and inches

#include<iostream>;
using namespace std;


int main()
{
float weight, height, bmi;
cout << "Weight(p), height(in)";
cin >> weight >> height;
bmi = (weight * 703) / (height * height);


if (bmi < 18.5)
cout << "Underweight" << endl;
else if (bmi > 25)
cout << "Overweight" << endl;
else
cout << "Normal weight" << endl;
cout << "Your bmi is : " << bmi;




system("pause>0");
}

pharos
Автор

do you have anything about data structutes and their implementations

rocketleague
Автор

I tried to make this . Can u plz tell me it is right or wrong.

talhasphotography