Unable to trace the error for a function any help as in where i have gone wrong? : I am having trouble in debugging the error in this code, and not understanding where exactly i am going wrong? Can you please help?


    #include <iostream>
    using namespace std;
    class man
    {
    	int age;
    	int height;
    	int weight;
    public:
    	int data(void);
    	void initialize(int,int,int);
    };
    int man::data(void)
    {
    	return (age*height)/weight;
    };
    void man::initialize(initial_age,initial_height,initial_weight)
    {
    	age = initial_age;
    	height = initial_height;
    	weight = initial_weight;
    
    };
    
    int main()
    {
    	man tim,crook;
    	tim.initialize(19,178,55);
    	crook.initialize(28,171,71);
    
    	cout << "THE DATA IS AS SHOWN FOR tim" << tim.initialize(19,178,55) << endl;
    	cout <<"THE DATA IS AS SHOWN FOR crook" << crook.initialialize(28,171,69) << endl;
    }

