C++ > Algorithms
Info person
Info person #include
#include
class person { char *name,*add,*eadd; long pno,ctzno; public: void info() { cout<<"Enter the name:"; cin>>name; cout<<"Enter the address:"; cin>>add; cout<<"Enter the email address:"; cin>>eadd; cout<<"Enter the phone no:"; cin>>pno; cout<<"Enter the citizenship no:"; cin>>ctzno; } void PrintInfo() { cout<<"********************Person Data***************************"<
C++ Codes
Algorithms
Beginners
Code Snippets
Graphics
Data Structures
Games
Mathematics
Miscellaneous