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.

here you go!! cs201 Assignment 4 edited by Me!! if there is an error do inform me!!

+ 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: 2534

.

+ 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)

Attachments:

Replies to This Discussion

Thanks brother for helping Assignment.

yea complete solution nai is ki output wase tpu nai show ho rai jaise assignment main kaha hy :( :(

it's just not having setter and getter !! only.. 

and it's as the given assignment

#include <iostream>
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()
{
//enter your full name//
cout"Program developed By:  "endl;
//enter your vu id
cout"My VU ID : BC"endl;
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 !!!"endl;
}
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");
}

Thanks for sharing nazish

nazish is program me kaha ha getter setter???

AKB thankw

RSS

Latest Activity

Profile IconMuhammad Adeel Anjum and mansoor joined Virtual University of Pakistan
8 minutes ago
Habiba liked Mani Siddiqui BS VIII's discussion مری سادگی دیکھ کیا چاہتا ہوں
10 minutes ago
Habiba commented on M r . H a a D i . . . ! ! !'s blog post Duffer ;D ...
23 minutes ago
Habiba replied to + M.Tariq Malik's discussion CS506 Current Final Term Papers Fall 2019 (15 to 26 February 2020) & All Solved Past Papers, Solved MCQs & Helping Material in the group CS506 Web Design and Development
38 minutes ago
Mani Siddiqui BS VIII replied to Mani Siddiqui BS VIII's discussion بیٹھ جاتا ہوں جہاں چھاؤں گھنی ہوتی ہے
41 minutes ago
Mani Siddiqui BS VIII replied to Mani Siddiqui BS VIII's discussion مری سادگی دیکھ کیا چاہتا ہوں
41 minutes ago
Mani Siddiqui BS VIII replied to Mani Siddiqui BS VIII's discussion تجھے بھول کر بھی نہ بھلا سکوں ، تجھے چاہ کر بھی نا پا سکوں
41 minutes ago
Mani Siddiqui BS VIII replied to Mani Siddiqui BS VIII's discussion مری سادگی دیکھ کیا چاہتا ہوں
42 minutes ago
Sedra Malik replied to + M.Tariq Malik's discussion CS708 Final Term Papers Spring 2019 (24 August ~ 04 September 2019) & All Solved Past Papers, Solved MCQs & Helping Material in the group CS708 Software Requirement Engineering
44 minutes ago
Sedra Malik joined + M.Tariq Malik's group
44 minutes ago
Habiba replied to + M.Tariq Malik's discussion CS506 Current Final Term Papers Fall 2019 (15 to 26 February 2020) & All Solved Past Papers, Solved MCQs & Helping Material in the group CS506 Web Design and Development
46 minutes ago
Aiman replied to +++A++R+++'s discussion ایک اصول
1 hour ago

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

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

.