Question: only c or c++ plz During this lab time, you need to implement a queue using a circular array. Write a header file queue.h and

only c or c++ plz
During this lab time, you need to implement a queue using a circular array. Write a header file queue.h and implement a queue of size 15 using an array. The entries of the queue are integers. Write an algorithm to do the following: Input (append) integers 1, 2, 3, 4, ... , 15 to the queue. Server (remove) the integers in the queue one by one. If the number is odd, then multiply this number by 2 and append the result to the queue. There should be 8 integers in the queue after this step. - Finally print out the integers in the queue and remove them one by one
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
