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: 2532

.

+ 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

shan replied to Hassan khan's discussion MIDTERM RESULT FALL 2019 (Latest Update)
2 minutes ago
Rana Ali liked Rana Ali's discussion EDU431 Test Development & Evaluation Assignment No 02 Fall 2020 Solution & Discussion
18 minutes ago
Rana Ali added a discussion to the group EDU431 Test Development & Evaluation
18 minutes ago
Hassan khan replied to Hassan khan's discussion MIDTERM RESULT FALL 2019 (Latest Update)
40 minutes ago
+ ! ! ! ! ! ! ! ! ! ! ! ! ! replied to +¢αяєℓєѕѕ gιяℓ's discussion Maa Sadkay
41 minutes ago
Hooriyah Malik updated their profile
42 minutes ago
Amad Jan replied to + M.Tariq Malik's discussion CS507 Assignment No 03 Fall 2019 Solution & Discussion in the group CS507 Information Systems
44 minutes ago
Amad Jan joined + M.Tariq Malik's group
44 minutes ago
+ ! ! ! ! ! ! ! ! ! ! ! ! ! replied to +¢αяєℓєѕѕ gιяℓ's discussion My Dearest Friendz ❤ JK, DD, Fiya, Bushra , And Beloved bestie senii ❤ yOu people look So Cute
46 minutes ago
Amad Jan replied to + M.Tariq Malik's discussion MGT201 Assignment No 01 Fall 2019 Solution & Discussion in the group MGT201 Financial Management
47 minutes ago
Alone Struggler replied to Walli Ahmad's discussion Midterm Result
48 minutes ago
Amad Jan replied to + M.Tariq Malik's discussion MGT201 Assignment No 01 Fall 2019 Solution & Discussion in the group MGT201 Financial Management
49 minutes ago

Today Top Members 

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

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

.