Assignment No. 3
CS201: Introduction to Programming
Total Marks: 20
Due Date: 06 Jan, 2011
Please read the following instructions carefully before submitting your assignment:
It should be clear that your assignment will not get any credit if:
§ The assignment is submitted after due date.
§ The submitted assignment does not open or file is corrupt.
All types of plagiarism are strictly prohibited.
Note: You have to upload only .cpp file. Assignment in any other format (extension) will not be accepted.
If you will submit code any other file format like .doc or .txt etc. you will
The objective of this assignment is to provide hands on experience of using
§ Functions of C/C++
§ Classes in C/C++
§ Creating and manipulating objects.
§ Code should be properly aligned and well commented.
§ Follow C/C++ rules while writing variables names, function names etc.
§ Use only Dev-C++ IDE for this assignment.
Problem Statement: Calculate salary
You are required to write a program which will calculate the salary of an
employee according to his/her grade assigned by the employer. You must
Sample Output 1
Please enter employee ID : 001
Please enter employee name : Mohammad Ali
Please enter employee grade : 17
The net salary of Mohammad Ali is Rs.21750
Sample Output 2
Please enter employee ID : 2
Please enter employee name : Aslam Khan
Please enter employee grade : 19
The net salary of Aslam Khan is Rs.36250
Note: you have to use same Class and Function name as mentioned in the assignment details. If we find any deviation, marks will be deducted.
Your Assignment solution must be submitted on or before January 06, 2011.
Please Discuss here about this assignment> Thanks
For complete assignment.see the attached file pls
my code is giving error, can anyone share for reference
upload your code then i will correct
i was busy and no time to write plzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzz
cout"please enter employee ID:";
cout"Please enter employee Name:";
cout"Please enter employee Grade:";
int calculate(int grade)
cout "Your typed Grade in not listed";
cout"The net salary of" empName " is Rs." calculate(empGrade)endl;