StructArray C++

Create two structures named package and roomType. The first structure named package contains the members: numRoom, numNight while the structure […]

triangleType

Define an enumeration type, triangleType, that has the value scalene, isosceles, equilateral, and noTriangle. b) Write a function, triangleShape that […]

MotorSales Company

The MotorSales Company has 15 employees. The employees have an annual sale that usually takes place in the last quarter […]

Hotel Maya

Hotel Maya is running a promotion for its room reservation packages. It is giving discounts to hotel guests based on […]

Lab Exercise 8b

Lab Exercise 8b Purpose: Write and demonstrate a sorting algorithm to sort the elements in an array and [properly swap […]

Paint C++

Instructions A room has one door, two windows, and a built-in bookshelf and it needs to be painted. Suppose that […]

CS285 Mid Project

Create a simple Employee class with name, department, and title. Create an hourlyEmployee class (which inherits from the Employee class) […]