1- define a struct node that has the following info:
node*next , value (int)
2-define an Queue class as linked list that has the following info:
private: node*root,public:function empty,and full, and add, and delete
3-in void main you ask user the following:
enter 1 if you need to add values
enter 2 if you need to delete value
enter 3 if you need to print but if you delete value you must undo and print value
Numbers and figures are an essential part of our world, necessary for almost everything we do every day. As important…
APPROVED BY CLIENTS
Finding a professional expert in "partial differential equations" in the advanced level is difficult.
You can find this expert in "Assignmentexpert.com" with confidence.
Exceptional experts! I appreciate your help. God bless you!
Comments
Leave a comment