Сэр, у меня есть проблема в описанной программе(см. Описание проблемы)
мне нужен код dev c++ для этого вопроса plz help.
You need to develop a C++ program for a company which buy and sell used cars and sports bikes. The company has a garage with separated but limited spaces for both types of vehicles. For example, their garage has capacity for 5 bikes and 5 cars. Your program should allow the company to define these numbers by themselves. When the company purchases a vehicle, they immediately add it to their garage but when they sell one, they do not remove it from their garage. Technically, they should give the purchased vehicle to its owner and empty the space for another vehicle, but they do so because they do not want to make things complex for you. It means that the space in garage is occupied by both sold and available vehicles. The company also wants your program to list bikes and cars separately. Both lists must clearly indicate which vehicle is available for selling and which one has already been sold. Each vehicle in its corresponding list should be listed along with all its features.
Когда компания делает покупку и добавляет автомобиль в гараж, они хранят следующие функции и атрибуты:
Что я уже пробовал:
сэр я пытался решить но я не понимаю как это закодировать