#include<iostream.h> #include<conio.h> class demo { private: int x; float y; public: void read() { cout<<"Enter Value for X : "; cin>>x; cout<<"Enter Value for Y : "; cin>>y; } void display(); //Declaration of Member Function }; void demo::display() //Definition Outside The Class { cout<<"\nX... Continue Reading →
Advertisements