#include <iostream>

class human
{
	// this data is private to instances of the class
	int height;
	char name[];
	int weight;
public:
	void	 setHeight(int heightValue);
	int	 getHeight();
};

void human::setHeight(int heightValue)
{
	if (heightValue > 0)
		height = heightValue;
	else
		height = 0;
}

int human::getHeight()
{
	return(height);
}


void main(){
// first we define the variables.
int height = 72;
int result = 0;
human hank;

//set our human's height
hank.setHeight(height);

//get his height
result = hank.getHeight();

cout << "Hank is = " << result << " inches tall" << endl;
}

