Skip to content
View in the app

A better way to browse. Learn more.

Pokemon Revolution Online

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.
New Trade Zone
Trade Zone is now live
Use the new Trade Zone for auctions and instant-price trades so Pokemon and item offers are easy to find.
Open Trade Zone

make Cpp Flow chart, reward cash ingame.

Featured Replies

 

#include <cstdlib>

#include <iostream>

#include <math.h>

 

using namespace std;

 

/*

*

*/

int main() {

char gender;

double weight, height, BMI;

int age;

 

 

cout<<"Welcome to Bulastog's BMI or Body Mass Index calculator!\n"<<endl;

 

do{

cout<<"Select your gender: \n";

cout<<"M - Male\n";

cout<<"F - Female\n";

cout<<"Q - Quit\n";

 

 

cin>>gender;

 

switch(gender){

case'M':

case'm':

 

cout<<"Enter your age:\n";

cin>>age;

cout<<"Enter your weight in pounds:\n";

cin>>weight;

cout<<"Enter your height in inches:\n";

cin>>height;

cout<<"\n"<<endl<<endl;

if(cin.fail())

{

cin.clear();

cin.ignore();

cout<<"Please follow instructions.\nEnter again:\n";

cout<<"Age:";

cin>>age;

cout<<"Weight:";

cin>>weight;

cout<<"Height:\n";

cin>>height;

}

 

BMI = weight*703 / (height*height);

if (age<17){

if (BMI<15){

cout<<"Your BMI is "<<BMI<<".\n";

cout<<"You are underweight."<<endl<<endl;

}else if (BMI>=15&&BMI<20){

cout<<"Your BMI is "<<BMI<<".\n";

cout<<"You are average."<<endl<<endl;

}else if (BMI>=21&&BMI<26){

cout<<"Your BMI is "<<BMI<<".\n";

cout<<"You are overweight."<<endl<<endl;

}else if (BMI>=26){

cout<<"Your BMI is "<<BMI<<".\n";

cout<<"You are obese."<<endl<<endl;

}

}else if (age>=17&&age<35){

if (BMI<18.5){

cout<<"Your BMI is "<<BMI<<".\n";

cout<<"You are underweight."<<endl<<endl;

}else if (BMI>=18.5&&BMI<25){

cout<<"Your BMI is "<<BMI<<".\n";

cout<<"You are average."<<endl<<endl;

}else if (BMI>=25&&BMI<30){

cout<<"Your BMI is "<<BMI<<".\n";

cout<<"You are overweight."<<endl<<endl;

}else if (BMI>=30){

cout<<"Your BMI is "<<BMI<<".\n";

cout<<"You are obese."<<endl<<endl;

}

}else if (age>=35){

if (BMI<19.5){

cout<<"Your BMI is "<<BMI<<".\n";

cout<<"You are underweight."<<endl<<endl;

}else if (BMI>=19.5&&BMI<27){

cout<<"Your BMI is "<<BMI<<".\n";

cout<<"You are average."<<endl<<endl;

}else if (BMI>=27&&BMI<30){

cout<<"Your BMI is "<<BMI<<".\n";

cout<<"You are overweight."<<endl<<endl;

}else if (BMI>=30){

cout<<"Your BMI is "<<BMI<<".\n";

cout<<"You are obese."<<endl<<endl;

}

}

 

 

break;

case'F':

case'f':

cout<<"Enter your age:\n";

cin>>age;

cout<<"Enter your weight in pounds:\n";

cin>>weight;

cout<<"Enter your height in inches:\n";

cin>>height;

cout<<"\n"<<endl<<endl;

if(cin.fail())

{

cin.clear();

cin.ignore();

cout<<"Please follow instructions.\nEnter again:\n";

cout<<"Age:";

cin>>age;

cout<<"Weight:";

cin>>weight;

cout<<"Height:\n";

cin>>height;

}

 

BMI = weight*703 / (height*height);

if (age<17){

if (BMI<14){

cout<<"Your BMI is "<<BMI<<".\n";

cout<<"You are underweight."<<endl<<endl;

}else if (BMI>=14&&BMI<19){

cout<<"Your BMI is "<<BMI<<".\n";

cout<<"You are average."<<endl<<endl;

}else if (BMI>=20&&BMI<25){

cout<<"Your BMI is "<<BMI<<".\n";

cout<<"You are overweight."<<endl<<endl;

}else if (BMI>=25){

cout<<"Your BMI is "<<BMI<<".\n";

cout<<"You are obese."<<endl<<endl;

}

}else if (age>=17&&age<35){

if (BMI<17.5){

cout<<"Your BMI is "<<BMI<<".\n";

cout<<"You are underweight."<<endl<<endl;

}else if (BMI>=17.5&&BMI<24){

cout<<"Your BMI is "<<BMI<<".\n";

cout<<"You are average."<<endl<<endl;

}else if (BMI>=24&&BMI<29){

cout<<"Your BMI is "<<BMI<<".\n";

cout<<"You are overweight."<<endl<<endl;

}else if (BMI>=29){

cout<<"Your BMI is "<<BMI<<".\n";

cout<<"You are obese."<<endl<<endl;

}

}else if (age>=35){

if (BMI<18.5){

cout<<"Your BMI is "<<BMI<<".\n";

cout<<"You are underweight."<<endl<<endl;

}else if (BMI>=18.5&&BMI<26){

cout<<"Your BMI is "<<BMI<<".\n";

cout<<"You are average."<<endl<<endl;

}else if (BMI>=26&&BMI<29){

cout<<"Your BMI is "<<BMI<<".\n";

cout<<"You are overweight."<<endl<<endl;

}else if (BMI>29){

cout<<"Your BMI is "<<BMI<<".\n";

cout<<"You are obese."<<endl<<endl;

}

}

 

 

break;

default:

if ((gender == 'q')||(gender == 'Q')){

cout<<"\n"<<endl;

cout<<"Thank you for using Bulastog's BMI calculator. BYE!"<<endl;

}else{

cout<<"\n";

cout<<"Please follow instructions.\n"<<endl;

}

break;

}

}while((gender != 'q')&&(gender != 'Q'));

 

 

 

return 0;

}

I'll give 1m ingame cash for who can make a flow chart for this source code. Could pay more if clean and correctly arrange :Shy:

 

PS. I'm aware of those flow chart generator on web. Please, don't even think about it. Lol

 

 

 

 

Our present sufferings are not worth comparing

to the glory that will be revealed in us.

-Romans 8:18

Create an account or sign in to comment

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.