/*Write a program that models a virtual pet. We will assume the pet will have a weight and can be
in a state of being hungry or not hungry. The pet can be fed which will in turn effect the pet's hunger
state and according the following:
1) if the food weight is greater than or equal to one half of the pet's weight, the
pet will not be hungry, otherwise it will be hungry.
2) the weight added to the pet will be one quarter of the food weight.*/
#include <iostream>
#include "vPet.h"
usingnamespace std;
int main(){
VPet bob(150, false);
bob.feedPet(25);
VPet sam;
sam.feedPet(10);
cout <<"Bob weighs: " << bob.getWeight() << endl;
cout <<"Sam weighs: " << sam.getWeight() << endl;
if (bob.getHungry())
cout << "Bob is hungry.";
else
cout << "Bob is not hungry.";
return 0;
}