[#include <iostream>
#include <string>
using namespace std;
/*
Input: the miles run, the calories/mile, and the info about being overweight (Y/N)
Output: calories burned depding on the person, the percentage of calories consumed
vs the recommended 1000 cal
*/
void main()
{
//variables
int calories;
float miles, calB, percCal;
char overW;
//algorithm
cout<<" ***Welcome to Jogging Pal***"<<endl;
cout<<"Input miles run: ";
cin>>miles;
cout<<"Input the Calories/Mile: ";
cin>>calories;
cout<<"Are you over-weight? (Y/N) :";
cin>>overW;
if (.........)
calB = calories * miles;
cout<<"You Burned: "<<calB<<" calories"<<endl;
percCal = 0.5 * calB/1000 *005.0;
cout<<"The percentage consumed of the recommended 1000cal
/day for physical activity is: "<<percCal<<endl;