https://github.com/ghosts6/bmi
bmi calculator with c c++ python and java script
https://github.com/ghosts6/bmi
bash bmi-calculator c cpp html-css-javascript python3
Last synced: 2 months ago
JSON representation
bmi calculator with c c++ python and java script
- Host: GitHub
- URL: https://github.com/ghosts6/bmi
- Owner: Ghosts6
- Created: 2023-09-29T03:02:32.000Z (over 2 years ago)
- Default Branch: main
- Last Pushed: 2024-03-20T11:33:30.000Z (over 2 years ago)
- Last Synced: 2025-01-16T01:49:29.831Z (over 1 year ago)
- Topics: bash, bmi-calculator, c, cpp, html-css-javascript, python3
- Language: C++
- Homepage:
- Size: 45.9 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README

# ⚕️bmi
Hi 👋! this is bmi calculator program which write with differend languages such as python c++ c and javascropt.
# 🔍code sample:
here we have c++ code, which use oop to handle data and if we want to talk about feature of this program we can
point to advise that it give to us based on our bmi near calcute bmi.
```cpp
#include
#include
#include
using namespace std;
class info {
public:
float weight;
float stature;
double bmi;
double weight_cost;
};
double a,b;
int main(){
info obj;
string first_name;
string last_name;
string fullname = first_name + " " + last_name;
string choice;
char vote;
cout <<"\t\t\t"<<"welcome to bmi program"<<"\n\n"<<"please fill your infomation"<>first_name;
cout<<"enter your last name:"<>last_name;
cout<<"\t\t\t"<<"welcome"<>obj.weight>>obj.stature;
a=obj.stature/100;
b=a*a;
obj.bmi=obj.weight/b;
obj.weight_cost=obj.bmi - 18.5;
cout <<"\n\n\n"<<"your bmi equal with:"< 5){
cout<<"you need to cost:"<> choice;
if(choice == "yes" || choice == "Yes"){
cout<<"theres some advice for you bay your bmi :"<