//******************************************************************************
//
// CS 240C : Spring 2003 Ohio University Travis Dillon
// Project 3 : Animal Homes
// file : penguin.h
// started : 05-07-03
// summary : This is a child of the Animal class. This class has all
// the necessary items that a Penguin igloo would have.
//
//******************************************************************************
#ifndef PENGUIN_H
#define PENGUIN_H
#include "prog3.h"
class Penguin: public Animal
{
public:
Penguin(){id = 6;}
Penguin(int sp, int tv, int cost, int te);
void input(); //get object data from user
void output(); //output object data to screen
void print(ofstream& fout); //this ouptuts object data to file
int set_price(int tv, int comp, int feet); //returns price for igloo
int get_id(){return id;} //returns 6 for penguins
int check_temp(int& in); //have to check the temperature
private:
int id; //set as 6 for penguins
int temp; //inside temperature of the igloo
int num_spa; //number of spas
int num_tv; //number of televisions
int price; //total price of the home
};
#endif //PENGUIN_H