Question
The following programming language is based on C++ programming. Find the ADT Specifications in provided code below and list it down then explain what does
The following programming language is based on C++ programming. Find the ADT Specifications in provided code below and list it down then explain what does the operation do. So it could be understandable.
header.hpp
#ifndef HEADER_HPP #define HEADER_HPP
#include
class Customer{ public: string custName; string custPhone; string ic_no; int court_no; string time; string status; public: void enterQuery(); void binarySearch(Customer arr[], int left, int right, string query); void bubbleSort(Customer bookings[], int n); void Sorting(); void displayBookingDetails(); };
class Court { public: int court_no; string courtType; string courtTime; double courtPrice; Court *next;
public: bool checkCourtNumber(int court_no); void editCourt(); void displayCourtDetails(); void deleteCourt(int num); };
class LinkedList { public: Court *head; LinkedList() { head = NULL; }
void insertCourt(int court_no, string courtType, string courtTime, double courtPrice); void printList(); };
class QueueBooking{ public: string custName; string custPhone; string ic_no; int court_no; string time; string confirmation; public: QueueBooking(string custName, string custPhone, string ic_no, int court_no, string time); QueueBooking(); void Enqueue(queue
#endif
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started