0% found this document useful (0 votes)
35 views2 pages

Fall 2020 - CS201 - 1

The document provides instructions for Assignment 1 for the course CS201 - Introduction to Programming. It states that the assignment is due on November 26, 2020 and outlines criteria for submissions. It also lists the objectives of the assignment: to practice concepts of data types, variables, arithmetic operators, logical operators, and if-else statements. Students are asked to write a C++ program that analyzes employee salary information - including salary amounts by level, deductions for tax and welfare funds, and net monthly salaries - and creates an interactive menu to view tax collections by employee level. The document provides example input data on employee numbers and salaries by level for the required program.
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOC, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
35 views2 pages

Fall 2020 - CS201 - 1

The document provides instructions for Assignment 1 for the course CS201 - Introduction to Programming. It states that the assignment is due on November 26, 2020 and outlines criteria for submissions. It also lists the objectives of the assignment: to practice concepts of data types, variables, arithmetic operators, logical operators, and if-else statements. Students are asked to write a C++ program that analyzes employee salary information - including salary amounts by level, deductions for tax and welfare funds, and net monthly salaries - and creates an interactive menu to view tax collections by employee level. The document provides example input data on employee numbers and salaries by level for the required program.
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOC, PDF, TXT or read online on Scribd
You are on page 1/ 2

Assignment No.

1 Total Marks: 20

Semester: Fall 2020 Due Date: 26-


November-2020
CS201 – Introduction to Programming
Instructions
Please read the following instructions carefully before submitting assignment:
It should be clear that your assignment will not get any credit if:

o Assignment is submitted after due date.


o Submitted assignment does not open or file is corrupt.
o Assignment is copied (From internet/students).

Recommended tool to develop Assignment


- Dev C++

Objectives:
To enable students to understand and practice the concepts of:
 Data Types and Variables
 Arithmetic and Logical Operators
 If-else statements

Assignment Submission Instructions


You have to submit only.cpp file on the assignments interface of CS201 from your LMS account. Assignment
submitted in any other format will not be accepted and will be scaled with zero marks.

For any query related to assignment, please contact [email protected].

Assignment
Information about an ABC organization is given below.
1. There are 10 employees in the organization.
2. There are 2 employees of level-A, 3 employees of level-B, 5 employees of level-C.
3. The information about their salaries is given below.
a) The salary of level-A employee is Rs.1, 25,000.
b) The salary of level-B employee is Rs.80, 000.
c) The salary of level-C employee is Rs.45, 000.
4. Rs.600 is deducted from the salaries of all employees against staff welfare fund.
5. If ANNUAL salary of an employee is more than Rs.600, 000, 1% tax is deducted from salary each month.
You are required to write a C++ program which finds

1) Total monthly tax deduction for all employees.


2) Total amount of welfare fund collected each month from all employees.
3) Net monthly salary of an employee. (Level-A, level-B, level-C).
(Hint: Net_Monthly_Salary= Original_Salary- Monthly_Tax – Monthly_Welfare_Fund)
4) Total amount which organization pays to its employees each month.
5) Also create a menu using (if-else) conditional statements, if a user wants to know about the separate tax
collection of Level-A, Level-B, And Level-C employees.
If user enters 1, leve-A employee tax will be shown.
If user enters 2, leve-B employee tax will be shown.
If user enters 1, leve-C employee tax will be shown.
If user inputs wrong number then a message will be shown: “incorrect input”.

Sample Screenshot of Output:

You might also like