Develop a C++ program implementing hierarchical inheritance upon a base class "Employee", and derived classes "Full-time" containing basic salary and allowances for calculating the salary of the employee and "Part-time" containing rate_per_day and no. of days worked for calculating the pay.
Create a class Address with house No., street name, city, and pincode as data T members. Use member functions to read and print the member values. Write a main method to demonstrate the Address class
Write a program that accepts a string as an input and perform following –
Write a function that accepts a string as an argument and display the reverse of that string and return that string.
Write another function that accepts a string as its argument and check whether the string is palindrome or not.
Develop a C++ program with a class named as "area" to find the area of the room and inherit this property into another class named as "volume" to find out the volume of the same room and display both the results
Draw a flow chart which receives three numbers, all real numbers, and determines whether the second one lies strictly between the first and third.
◦ Define an enumeration type, TriangleType, that has the values scalene, isosceles , equilateral, and notriangle.
◦ Write a function, triangleShape, that takes as parameters three numbers, each of which represents the length of a side of the triangle. The function should return the type of the triangle. (Note: In a triangle, the sum of the lengths of any two sides is greater than the length of the third side.)
◦ Write a program that prompts the user to input the length of the sides of a triangle and outputs the type of the triangle.
Write and test the function that calculate the are of circle returns the area of ‘a’ and
the circumference c of a circle with given radius r ?
Write c++ program that find the x raised to the power n use the function concept ,
where n can be any integer. Use the algorithm that would compute x 20 by multiplying
1 by x 20 times
Develop a C++ program to perform constructor overloading upon default, parameterized and copy constructors in a class named "Rectangle" and include member function for calculating area and perimeter of a rectangle.
write a program to print of sum of two number a and b if there sum is less than two otherwise print the product of number