Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/ghosts6/bmi

bmi calculator with c c++ python and java script
https://github.com/ghosts6/bmi

Last synced: about 15 hours ago
JSON representation

bmi calculator with c c++ python and java script

Awesome Lists containing this project

README

        

![baner](https://github.com/Ghosts6/Local-website/blob/main/img/Baner.png)

# βš•οΈ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 :"<