plz i m having error at line 71 and 83
#include <iostream>
#include <stdlib.h>
using namespace std;
class expense
{
private:
int income;
int gbill;
int ebill;
int wbill;
int saving;
public:
expense(int, int, int);
int display();
void setTotalIncome(int);
void setEBill(int);
void setWBill(int);
void setGBill(int);
int getEBill();
int getWBill();
int getGBill();
friend int addBills(expense m);
};
expense::expense(int eb,int gb, int wb)
{
ebill=eb;
wbill=wb;
gbill=gb;
}
int expense::display()
{
cout <<"expense"<<","<<getEBill()<<","<<getGBill()<<","<<getWBill();
}
void expense::setTotalIncome(int i)
{
income=i;
}
void expense::setEBill(int i)
{
ebill=i;
}
void expense::setGBill(int i)
{
gbill=i;
}
void expense::setWBill(int i)
{
wbill=i;
}
int expense::getEBill()
{
return ebill;
}
int expense::getGBill()
{
return gbill;
}
int expense::getWBill()
{
return wbill;
}
int addBills(expense m)
{
return (m.ebill+m.gbill+.m.wbill);
}
int main()
{
int totalIncome;
int e;
int w;
int g;
cin>>e;
cin>>w;
cin>>g;
expense m1(e,g,w);
cout <<"add"<<addBills(expense m1);
m1.display();
}