We are here with you hands in hands to facilitate your learning & don't appreciate the idea of copying or replicating solutions. Read More>>

Looking For Something at vustudents.ning.com? Click Here to Search

www.bit.ly/vucodes

+ Link For Assignments, GDBs & Online Quizzes Solution

www.bit.ly/papersvu

+ Link For Past Papers, Solved MCQs, Short Notes & More


Dear Students! Share your Assignments / GDBs / Quizzes files as you receive in your LMS, So it can be discussed/solved timely. Add Discussion

How to Add New Discussion in Study Group ? Step By Step Guide Click Here.

 

Please read the following instructions carefully before submitting assignment.

It should be clear that your assignment will not get any credit if:

 

  • The assignment is submitted after due date.
  • The submitted assignment does not open or file is corrupt.
  • Assignment is copied(partial or full) from any source (websites, forums, students, etc)

 

 

Objective:

 

The objective of this assignment is to provide an on hand experience of:

  • Learn to use object oriented concept
  • Learn to map real world problem in the context of computer programming

Guidelines:

 

  • Create a class for “StaffRegistration”.
  • Provide getter and setter functions for each data member.
  • Use two member functions “InputStaffData()” and “DisplayStaffData()” for getting input and displaying it respectively.
  • Code should properly be indented and well commented.
  • Follow C/C++ rules for code documentation.
  •  Use only Dev-C++ for this assignment. If you are using any other tool then mention it at top of your code file as comments.

 

Assignment Description

 

Etradehouse is an online shopping store, which deals with selling of goods across Europe. They have regional offices in different countries (Pakistan, China & UK). The support, purchase and sales staff works in regional office (Pakistan).

They hire new employees in order to run their business smoothly, but currently they have no automated system for hiring of their employees. As a C++ programmer, your task is to write a computer program in C++ which could register the newly hired staff and then display summary of it.

 

 

The data about the staff, that the company is interested are as follows:-

  • CNIC ( National Identity Card Number in the form XXXXX-XXXXXXX-X)
  • Name ( Name of employee)
  • Father Name
  • Date of Birth
  • Qualification
  • Designation
  • Salary
  • Joining Date
  • Contact Number
  • Address

Your Task

Your task is to create the program which produces the output as shown in “screenshot”.

Screenshot of the desired  output:

Here display your name & VU ID.

 

 

Note

Object oriented approach MUST be used in order to implement the assignment.

Submission

You are required to submit your assignment through LMS in zip format containing two files.

  • Your solution C++ program i.e .cpp file
  • An MS Word document containing screenshot of your program output/execution

 

 

CS201_ Assignment # 2, Due Date: 04/08/2015

+ How to Follow the New Added Discussions at Your Mail Address?

+ How to Join Subject Study Groups & Get Helping Material?

+ How to become Top Reputation, Angels, Intellectual, Featured Members & Moderators?

+ VU Students Reserves The Right to Delete Your Profile, If?


See Your Saved Posts Timeline

Views: 5676

.

+ http://bit.ly/vucodes (Link for Assignments, GDBs & Online Quizzes Solution)

+ http://bit.ly/papersvu (Link for Past Papers, Solved MCQs, Short Notes & More)

+ Click Here to Search (Looking For something at vustudents.ning.com?)

+ Click Here To Join (Our facebook study Group)

Replies to This Discussion

Please Discuss here about this assignment.Thanks
Our main purpose here discussion not just Solution
We are here with you hands in hands to facilitate your learning and do not appreciate the idea of copying or replicating solutions.

#include

using namespace std;
class StaffRegistration
{
private:
char cnic[16];
char name[20];
char fname[20];
char dob[11];
char degree[10];
char desig[15];
int sal;
char joinDate[11];
char cell[13];
char address[40];
public:
void InputStaffData()
{
cout"\nPlease enter National Identity Card Number(CNIC)"endl;
cin>>cnic;
cout"Please enter name"endl;
cin >> name;
cout"Please enter father name"endl;
cin >> fname;
cout"Please enter date of birth (dd/mm/yyyy)"endl;
cin>>dob;
cout"Please enter qualification"endl;
cin>>degree;
cout"Please enter salary"endl;
cin>>sal;
cout"Please enter joining date (dd/mm/yyyy)"endl;
cin>>joinDate;
cout"Please enter contact number"endl;
cin>>cell;
cout"Please enter address information"endl;
cin>>address;
cout"Record added successfully !!!"endlendl;
}
void DisplayStaffData()
{
cout"CNIC: \t\t\t"cnicendl;
cout"Name: \t\t\t"nameendl;
cout"Father Name: \t\t"fnameendl;
cout"DoB: \t\t\t"dob endl;
cout"Qualification: \t\t"degreeendl;
cout"Salary: \t\t"salendl;
cout"Joining Date: \t\t"joinDateendl;
cout"Contact Number: \t"cellendl;
cout"Address: \t\t"addressendl;
}

};
main()
{
system("cls");
StaffRegistration emp;
emp.InputStaffData();
cout"---------------------------------------------------------------------------"endl;
cout"\t\t\t\ DISPALAY STAFF INFORMATION"endl;
cout"---------------------------------------------------------------------------"endl;
emp.DisplayStaffData();
cout"---------------------------------------------------------------------------"endl;
system("pause");
}

actually i have completed my assignment ..... i m just facing one problem if i  give space in my name  then the next line do not not stop on My V.u ID   but if i remove space the next cursor stop in front of My V.u Id ..... How can i resolve this problem....... 

Dear Write coding in this way

cout" My VU ID:  MC150201928"endl;

Dear Students Don’t wait for solution post your problems here and discuss ... after discussion a perfect solution will come in a result. So, Start it now, replies here give your comments according to your knowledge and understandings....

guys hm yaha class use kary gy .right bcz...............mara khyal ha k ye sb ki evaluation k lea ha. k kon easy code bnata ha or kon complecte try to find that is just about professionalism .
what you guys think?????
koi to batao yr kahao sab phir last 2 days par a jaty mangny assignment solution.

Ab assignment main kafi sari outputs par error a raha hai

Cs201 Assignment no#4 solution file

Attachments:

Dear Students Don’t wait for solution post your problems here and discuss ... after discussion a perfect solution will come in a result. So, Start it now, replies here give your comments according to your knowledge and understandings....

zain nasar.gud work dear keep it up zain nasar

RSS

Latest Activity

+ daZzliNg DudE updated their profile
11 minutes ago
+ ! ! ! ! ! ! ! ! ! AG liked Moji's discussion CS 502 Assignment no 2
1 hour ago
Profile Iconosama butt, Umar Ahmed, MUHAMMAD MUZAMMIL BHUTTA and 9 more joined Virtual University of Pakistan
2 hours ago
Abdul Majid Jamil posted a photo
3 hours ago
Moji posted discussions
3 hours ago
+ ! ! ! ! ! Dîxîě Dûsť꧂ updated their profile
4 hours ago
+ ! ! ! ! ! ! maho+++ liked Azhar Sagar's discussion How to make srs Software Requirements Specification
4 hours ago
Aqsa Khan updated their profile
5 hours ago
+ IUUOƆƎUT + updated their profile
5 hours ago
+ M.Tariq Malik replied to Aijaz khan's discussion CS608 - Software Verification and Validation Assignment No. 2 Need Solution
5 hours ago
+ M.Tariq Malik liked Aijaz khan's discussion CS608 - Software Verification and Validation Assignment No. 2 Need Solution
5 hours ago
+ M.Tariq Malik replied to Waseem Aziz's discussion PROJECT MANAGEMENT (MGMT627)required Solution in the group MGMT627 Project Management
5 hours ago
+ M.Tariq Malik liked Waseem Aziz's discussion PROJECT MANAGEMENT (MGMT627)required Solution
5 hours ago
Ahsan Sandhu updated their profile
5 hours ago
Ahsan Sandhu liked Ahsan Sandhu's profile
5 hours ago
+ M.Tariq Malik replied to +¢αяєℓєѕѕ gιяℓ's discussion Best Places To Propose Someone :-P
5 hours ago
+ M.Tariq Malik liked +¢αяєℓєѕѕ gιяℓ's discussion Best Places To Propose Someone :-P
5 hours ago
+ M.Tariq Malik replied to waqas ahmad's discussion isl 201
5 hours ago
+ M.Tariq Malik liked waqas ahmad's discussion isl 201
5 hours ago
+ M.Tariq Malik replied to +¢αяєℓєѕѕ gιяℓ's discussion CS408 Human Computer Interaction Online Quiz No 01 Fall 2019 Solution Discussion Last Date: 21-11-2019 in the group CS408 Human Computer Interaction
5 hours ago

Today Top Members 

© 2019   Created by + M.Tariq Malik.   Powered by

Promote Us  |  Report an Issue  |  Privacy Policy  |  Terms of Service