Assignment 01 Oop
Assignment 01 Oop
Objective:
Develop a C++ program for a Pakistani company that calculates monthly and annual salaries,
applies tax deductions, and considers employee type (full-time/part-time). The program should
use:
• User-defined functions
• Function overloading
• Recursion (for tax slab calculation)
Background:
Function Hints:
• Calculates total salary with allowance based on employee type (overloaded function).
Problem 01:
Write a simple C++ program to print "Hello, World!".
Program:
Output: