Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

4G Jis. attachFile_1675843288_5AEAEoAGVX PDF - . Assignment#2 General Instructions: 1) This is an individual Assignment so every student must complete it in her own and

image text in transcribed

4G Jis. attachFile_1675843288_5AEAEoAGVX PDF - . Assignment\#2 General Instructions: 1) This is an individual Assignment so every student must complete it in her own and by herself. 2) All submitted codes must be unique and any duplicated codes will receive 0 . 3) The Homework must be submitted by the deadline and any late Homework will receive 0 . 4) Every student will be tested on her work, failing to attend this test will result in receiving 0 . 5) You must submit your code as .pdf via the Blackboard 6) 5\% WEIGHT and PLEASE ONLY CHOOSE ONE QUESTION. 7) Submission deadline: February 11th,2023, by midnight (04:59pm). Problem Discription\#1: [5 Marks] As a programmer; you have been asked to write a program for computer house, and you have been requested to design a salary software for a company. The company has three department and every department has a name and several employees in different department. Each employee has his name, position, date of birth and salary stored in the system in addition to his employee ID. There are two types of employee: supervisor and normal staff. The supervisor has a number of years' experience, while the normal staff does not have. You should implement a calculation salary method to calculate the salary for each employee depending on his type. The supervisor will have addition to his normal salary a 2% multiply his experience years of his normal salary. The normal staff will have addition of 5% of his normal salary. You should create the necessary class objects and methods for testing your program. Your program will start by reading the name of the employee and check his existence. If the employee of type supervisor, the program should read a number of years' experience to calculate his salary. For the normal staff, it should calculate the salary directly Problem Discription\#2: [5 Marksl Write a program for a shop owner who has three shops. Each shop has a name, ID, location and a list of items. The item has price, quantity in addition to its name and ID. Each shop has different items with different quantity. Your program should: Create three items with all its information 1) Add the items to each shop 2) Print how many items each shop has 3) Print each shop items information 4) print the total price of all items for each shop O February 4th, 2023 Assignment\#2, Page 1

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Database Design For Mere Mortals

Authors: Michael J Hernandez

4th Edition

978-0136788041

More Books

Students also viewed these Databases questions

Question

Do you favor a civil service system? Why or why not?

Answered: 1 week ago