>p.person; cout&l..." /> Write A C++ Program To Create An Object Of A Class Called Employee Containing The Employee Code Name Designation Basic Salarry HRA Da Gross Salary As Data 10 Such Objects "members Process "? >p.person; cout&l..." /> >p.person; cout&l..." />
Answers

Question and Answer:

  Home  Standard Template Library (STL)

⟩ Write a c++ program to create an object of a class called employee containing the employee code name designation basic salarry HRA Da gross salary as data 10 such objects "members process "?

#include<iostream.h>

#include<conio.h>

class person

{

int person;

float salery;

}p;

cout<<"enter the person name";

cin>>p.person;

cout<<"enter the salery";

cin>>p.salery;

}

void main()

{

person;

getch();

}

 251 views

More Questions for you: