Assignment No. 02
CS304P Assignment 2 Solution 2021
|Total Marks: 20
January 03, 2022
Rules for Marking:
It should be clear that your assignment will not get any credit if:
(Strict disciplinary action will be taken in this case).
This assignment covers Lab 4-6 which includes the Lecture # 10-18.
|Problem Statement|| CS304P Assignment 2 Solution 2021
For Paid Work Contact 0347-8749900
Pakistan had faced terrorism when it was on peak. There were different unregistered companies that were present and they had accounts in the banks. The purpose of these accounts was money laundering. FIA wants to keep the record of all the companies. They hired you as a developer to develop the system that shows the company name, where its headquarter is located. It also shows the information about its department i.e. number of department and employee information i.e. How many employees are working in the company.
Keeping in mind the above scenario, consider the following class diagram showing the composition relationship between Company and Employee classes and Company and Department classes.
Now, you are required to write a C++ program for above for above class diagram.
· Carefully analyze the given class diagram and write code according to classes, attributes, functions and relationship mentioned in class diagram.
· There is one main point to consider when display the company information. If there is more than one department in the company system should print the plural for department i.e. Departments and if the company has one department, it should display the singular department.
Best of luck!
NOTE: Do not put any query on MDB about this assignment, if you have any query then email at firstname.lastname@example.org.
Furthermore, if any student found cheating from any other student or from online forums then he/she will be awarded ZERO right away and strict disciplinary action will be taken against the student.
|Deadline: Your assignment must be uploaded/submitted on or before January 03, 2022.|
CS304P Assignment 2 Solution 2021 Download Here