- Create a class
Car with private data members brand, model, and year. Write a program to input and display the details of a car using a member function.
- Write a C++ program to define a class
Circle with a private radius. Include functions to calculate and return the area and circumference of the circle.
- Design a class
Employee with data members name, id, and salary. Write a program to create an array of 5 Employee objects and display the employee with the highest salary.
- Create a class
Time with members for hours and minutes. Write a program to add two Time objects and display the result in proper format.
- Write a C++ program to define a class
Book with members title, author, and price. Include a constructor to initialize the object and a function to display book details. Create two book objects and display their information.