Posts

Showing posts with the label Electricity Bill

Electricity Bill Generator Project in C++

C++ project on Electricity Bill Generator: ☝This project does not include file handling so it does not store the data gathered as input permanently. The data stored gets destroyed as the program ends. #include<iostream> using namespace std; class EBill      {        private:         string name;         protected:         unsigned int acc;        public:         void input()              {               cout<<"\nEnter ur name::";    cin>>name;               cout<<"\nEnter ur account no::"; cin>>acc;              }         void display()              {              cout<<"\nUr n...