C++ Code: Develop a container class for Queue. Develop a server program that would take the first member of a queue and process the requests. The following types of elements are to be used as queue members: 1)Integers: Service: Print the integer and the square of the integer. 2)Float: Service: Print the Float value and it's square root. 3)Complex number: If the imaginary part is zero, treat it as a float. If the imaginary part is non-zero, add the absolute value of the imaginary part to the real part and subtract 1.0 from the imaginary part's absolute value. Put the number back in the queue as long as the imaginary part has an absolute value greater than 1.0. Demonstrate exception-handling capability for the service program. You should ensure that the service program shall never terminate.
## Deliverables
Complete and fully-functional working program(s) in executable form as well as complete source code of all work done. Complete copyrights to all work purchased. Code should be as simple as possible so it will appear that it is my work. 1)Include Step-wise refinement - According to my professor this is working out the program in plain English. We are suppose to start out explaining the requirements of the problem simply and keep refining it until we have practically written the code 2)Code - well commented 3)Compiler Errors - My professor expects to see our compiler errors. I don't need hundreds but I need some. These can be sent in a Word Doc or notepad. 4)Sample Input and Output - Test mistakes too. (i.e. The program expects an integer but receives a character instead.)
## Platform
Windows 98 and higher
## Deadline information
Must be done by 9 am on 5/16. Needs to be turned in later that day.