/****************************************************************************** Online C++ Compiler. Code, Compile, Run and Debug C++ program online. Write your code in this editor and press "Run" button to compile and execute it. *******************************************************************************/ #include using std::cin; using std::cout; using std::endl; #define STUDENT 10 #define MIN_RAND 1 #define MAX_RAND 100 class QUEUE { int max_size = 5;//STUDENT*5 + 50; int start = 0, size = 0; int temp, *arr; public: QUEUE() { cout<<"Queue was creating ... \n"; arr = new int [max_size]; } ~QUEUE() { cout<<"queue was deleted ..." ; delete[] arr; } void rand_creator_all () { for (int i=0; i> num; if(num>max_size) { cout<< "bigger for max size queue\n"; } else { for(int i=0; i> element; set_element(element); } } } void get_first() { size--; int answer = arr[start]; if (size) start = (start + 1) % max_size; cout<<"first element "<