The City School: Computer Science (2210) Grade-11 Worksheet #3 (Array) Teacher Sr. Nisar Date: 13-06-2015

You might also like

Download as docx, pdf, or txt
Download as docx, pdf, or txt
You are on page 1of 1

The City School

North Nazimabad Boys Campus


Computer Science (2210)
Grade-11
WorkSheet #3 (Array)
Teacher; Sr. Nisar

Date: 13-06-2015

Q. Draw a flowchart for the given scenario


A Company has 50 employees. Their monthly salary is calculated as per given table
Designation
Clerk
Supervisor
Manager
Others

House Allowance
10 %
15%
20%
5%

Note: Where Others is not a specific designation but refers any other designation than the
specified one.
Refer your notes and do the following task
Tasks:
1.
2.
3.
4.

Take salary and designation as input for all employees in arrays.


Calculate the house allowance as per their designation in another array
Calculate the net salary (Salary + house allowance) in an array
Display the net salary at the end along with the name of employee

Note: Submit this assignment by Monday. Complete the previous two assignments also and
submit them all by Monday otherwise 0 mark will be awarded to the failure.

You might also like