Program 1 . Define a class employee. Include the following members:…

Question Answered step-by-step Program 1 . Define a class employee. Include the following members:… Program 1. Define a class employee. Include the following members:Data Members: a. Name of the employee b. Age of the employeeMember Functions: a. To get the name and age of the employee. b. To display the name and age of the employee.Program 2. Define a class Bank Account to represent a bank account. Include the following members:Data Members: a. Name of the depositor b. Account Number c. Type of account d. Balance amount in the account                                                Member Functions: a. To assign initial value b. To deposit an amount c. To withdraw an amount after checkingProgram 3. Define a class employee having data members as emp_code, dept_code, age, basic, DA, HRA, and three-member functions as getdata(), putdata(), calculatesalary() to get, display all the values of data members and calculate the total salary by adding basic, DA, HRA. Program 4. Make a program to display the mark-sheet of the student. Define a class that contains data members to store student information like name, department, semester, marks in 6 different subjects, etc. Declare some member functions to get this information from the keyboard, to calculate results, and to display all gathered information on to the computer screen in a proper format. Computer Science Engineering & Technology Python Programming COMPUTER S 683 Share QuestionEmailCopy link Comments (0)

Leave a Comment

Your email address will not be published. Required fields are marked *