Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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
- Host: GitHub
- URL: https://github.com/ghosts6/bmi
- Owner: Ghosts6
- Created: 2023-09-29T03:02:32.000Z (about 1 year ago)
- Default Branch: main
- Last Pushed: 2024-03-20T11:33:30.000Z (8 months ago)
- Last Synced: 2024-03-20T12:55:33.549Z (8 months ago)
- Language: C++
- Size: 45.9 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
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 :"<