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 "
Answer Posted / ray baboo yadav
#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();
}
Is This Answer Correct ? | 6 Yes | 21 No |
Post New Answer View All Answers
How stl is different from the c++ standard library?
When did c++ add stl?
What is the stl, standard template library?
What is stl language?
What is a standard template library (stl)?
What is stl stack?
how can u do connectivity in c++ language? plz send me connectivity code in c++ ?
How do I convert a stl file?
What do stl stand for?
What are the various types of stl containers?
i wanted to know about questions about c,c++ , which is required for placements.... im a fresher
Is stl open source?
What are the symptoms of stl?
Describe how to safeguard a system through acquisition of an antivirus Program and systematic backup.
How is stl different from c++ standard library?