.... How to Find Your Subject Study Group & Join ....   .... Find Your Subject Study Group & Join ....  

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

Study Groups By Subject code Wise (Click Below on your university link & Join Your Subject Group)

[ + VU Study Groups Subject Code Wise ]  [ + COMSATS Virtual Campus Study Groups Subject Code Wise ]

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

CS304 Object Oriented Programming

Information

CS304 Object Oriented Programming

CS304 Object Oriented Programming.Download/upload Video Lectures, Handouts, Helping Materials, Assignments Solution, Online Quizzes, GDB, Past Papers, Solved Papers and more….

Members: 1826
Latest Activity: on Wednesday

Dashboard of CS304 Object Oriented Programming

+ Latest Activity in This Group + Newest Discussoins in this group

+ Most Popular Discussions in this Group + Add New Discussion

+ View All Discussions in this Group + View All Featured Discussions

Download Video Lectures No.1 to 45

Tips to Use This Group:

  • Before asking about any assignment/GDB/online quiz solution to others, you should be checked the Discussion Forum topic list to avoid the lean in this group. You can also search the assignment/GDB/online quiz solution by the subject code or name through discussion search bar that is available on the discussion forum.
  • When you have questions for your fellow Friends, Please start a new Discussion. I think this will help get more attention to your questions, quicker. EVERYONE, please feel free to start your own Discussions.

Discussion Forum

"CS304 - Object Oriented Programming "Assignment No 2 ....{Dated:May 29, 18}

Started by + ! ! ! !❦Sılǝuʇ చɥıspǝɹ❦! ! ! !. Last reply by Habib ur Rehman Jun 8. 8 Replies

Mid Term Exams Syllabus CS304 Object Oriented Programming

Started by + ! ! ! !❦Sılǝuʇ చɥıspǝɹ❦! ! ! ! May 25. 0 Replies

Assingment solution cs304 2018

Started by shahrozkhan. Last reply by + M.Tariq Malik May 15. 7 Replies

CS304 - Object Oriented Programming - Assignment No. 01

Started by + ! ! ! !❦Sılǝuʇ చɥıspǝɹ❦! ! ! !. Last reply by Anam May 15. 14 Replies

cs304

Started by Shazia. Last reply by Shazia Apr 29. 2 Replies

CS304 quiz

Started by shakeel ahmed. Last reply by + M.Tariq Malik Feb 8. 5 Replies

CS304 Midterm Solved MCQs With References By Moaaz

Started by + M.Tariq Malik. Last reply by + M.Tariq Malik Dec 2, 2017. 1 Reply

Comment Wall

Comment

You need to be a member of CS304 Object Oriented Programming to add comments!

Comment by Hamza Jutt on December 11, 2015 at 10:55pm

c++ software kha se mily gaaaa

Comment by M NAD36M-CH on June 5, 2015 at 10:20am

By Chaudhary M NAD36M FROM PAKPATTAN

#include<iostream>
#include<string.h>
// WRITTEN BY CHAUDHARY M NAD36M FROM PAKPATTAN PPKTO1

using namespace std;
class Employee
{
private:
int Employee_ID;
char *name;
char *Department;
float Salary;
static int noOfEmployees;
public:
Employee();
Employee(int, char *, char *, float);
Employee(Employee &);
void SetFunc();
int GetFunc();
void calcNetPay();
void display();
~Employee();
};
Employee::Employee()
{
noOfEmployees++;
Employee_ID=0;
name=NULL;
Department=NULL;
Salary=0.0;
}
Employee::Employee(int emp_Id, char *emp_name, char *emp_Department, float emp_Salary):Employee_ID(emp_Id),name ( new char[strlen(emp_name)+1]),Department(new char[strlen(emp_Department)+1]),Salary(emp_Salary)
{


strcpy(name,emp_name);

strcpy(Department,emp_Department);

noOfEmployees++;
coutEmployee_ID"\t\t"name"\t"Department"\t\t"Salary;
}
Employee::Employee(Employee &obj)
{
Employee_ID=obj.Employee_ID;
name=obj.name;
Department=obj.Department;
Salary=obj.Salary;
}
void SetFunc(int emp_Id, char *emp_name, char *emp_Department, float emp_Salary)
{
emp_Id=emp_Id;
emp_name=emp_name;
emp_Department=emp_Department;
emp_Salary=emp_Salary;
}
int GetFunc(int emp_Id, char *emp_name, char *emp_Department, float emp_Salary)
{
return emp_Id;
return *emp_name;
return *emp_Department;
return emp_Salary;
}
void calcNetPay()
{
int emp_Salary, tax, NetPayable;
if(emp_Salary<10000)
{
tax=0;
NetPayable=emp_Salary-tax;
coutNetPayable;
}
else if(emp_Salary>10000 && emp_Salary<=20000)
{
tax=emp_Salary*5/100;
NetPayable=emp_Salary-tax;
coutNetPayable;
}
else if(emp_Salary>20000 && emp_Salary<=30000)
{
tax=emp_Salary*7/100;
NetPayable=emp_Salary-tax;
coutNetPayable;
}
else if(emp_Salary>30000)
{
tax=emp_Salary*10/100;
NetPayable=emp_Salary-tax;
coutNetPayable;
} // ITS MY OWN ASSIGNMENT ENJOY MY FRIENDS !!!!!!!!!!
}
void display()
{
static int noOfEmployees;
noOfEmployees++;
coutnoOfEmployees"ID\t""Name\t\t""Department\t\t""NetPayable";
}
Employee::~Employee()
{
delete []name;
delete []Department;
noOfEmployees--;
coutnameDepartment;
}
int main()
{
Employee emp[5];
for(int i=0;i<5;i++)
{
emp[i].calcNetPay();
emp[i].display()
{
emp[i](5, "Ahmad", "Accounts", 20000);
emp[i]=emp[0];
emp[i](10, "Ayesha", "Accounts", 25000);
emp[i](3, "Hassan", "Administration", 10000);
emp[i](6, "Arsalan", "Administration", 35000);
}
}

coutendl;
system("pause");
}

Comment by M NAD36M-CH on June 5, 2015 at 10:19am

Solution of Assignment no.2 of CS304 is here

Employee.cppClick here my boy and get assignment.

Comment by M NAD36M-CH on May 15, 2015 at 9:38am

Chaudhary.cpp

So enjoy friends.

by Chaudhary from Pakpattan

Comment by hareem fatima on March 3, 2015 at 8:59pm

Comment by parisha bs on November 22, 2014 at 1:20pm

plz muji cs 304 ka solution chai aj last ha 

Comment by +! Asif (Pick One) on November 8, 2014 at 9:17pm

Main>> object>> Sahfiq ur Rehman.

Comment by +! Asif (Pick One) on November 8, 2014 at 9:15pm

Comment by Amir Yousaf on July 2, 2014 at 12:06pm

Please! Share your assignment no. 3 of cs 304.

Comment by ++ BSIT ا ایمان زینب on May 19, 2014 at 2:44pm

Nice Group

 

Members (1827)

 
 
 

Forum Categorizes

Job's & Careers (Latest Jobs)

Admissions (Latest Admissons)

Scholarship (Latest Scholarships)

Internship (Latest Internships)

VU Study

Other Universities/Colleges/Schools Help

    ::::::::::: More Categorizes :::::::::::

Today Top Members 

Member of The Month

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

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