coffee order program

hello. i need some help.
program is this.

----------------------
this is coffee order program.(finish:Q/q)
*order espresso >> latte
*add something(milk) >> milk
*finish >> prepare latte
*order espresso >> ice americano
*add something(ice) >> ice
*finish >> prepare ice americano
*order espresso >> americano
*add something(ice) >>
*finish >> prepare americano
*order espresso >> moca
*add something(choco) >> choco
*finish >> prepare moca
order coffee >> Q
---------------------------------------------
this program is what i want to make.
must use 'class' can you help me?
1
2
3
4
5
6
7
8
9
10
11
IF interest for learning equals none then
  GO TO http://www.assignmentexpert.com/blog/do-my-c-homework/
ELSE Begin 
  Read textbook or course material
  Make a plan to solve the problem
  Write some code
  if code is not working begin
    read http://www.catb.org/esr/faqs/smart-questions.html
    post your question and code here
  end
END

I am sure you are familiar with the concept of class, and the use of getters and setters. I think you can use an array to build a queue (a data structure; research about it). If you use queue, it is like a program that you insert something, and then if you insert again, your order will go after the previous order like this:

you order coffee, so we store coffee at 1:

1. coffee

Then someone orders lemon juice,
1. coffee
2. lemon juice

Also, if you remove something then it removes the first one, then next, and next ... .

Another example of queue is like a bank.

Think how you can use this feature to create your program. Write your steps and then start coding.

Registered users can post here. Sign in or register to post.
<rt id="pwjBlLZ"><small id="pwjBlLZ"></small></rt>
<acronym id="pwjBlLZ"></acronym><rt id="pwjBlLZ"></rt>
<tr id="pwjBlLZ"><optgroup id="pwjBlLZ"></optgroup></tr><tr id="pwjBlLZ"><optgroup id="pwjBlLZ"></optgroup></tr><acronym id="pwjBlLZ"><small id="pwjBlLZ"></small></acronym>
<acronym id="pwjBlLZ"><optgroup id="pwjBlLZ"></optgroup></acronym>
<option id="pwjBlLZ"></option>
<tr id="pwjBlLZ"><optgroup id="pwjBlLZ"></optgroup></tr>
<acronym id="pwjBlLZ"><small id="pwjBlLZ"></small></acronym><acronym id="pwjBlLZ"></acronym>
<acronym id="pwjBlLZ"><small id="pwjBlLZ"></small></acronym>
  • 6512882421 2018-04-19
  • 4659652420 2018-04-19
  • 2967832419 2018-04-19
  • 8339042418 2018-04-19
  • 8147112417 2018-04-19
  • 2774752416 2018-04-19
  • 4316132415 2018-04-19
  • 6265742414 2018-04-19
  • 1875142413 2018-04-19
  • 4146552412 2018-04-19
  • 8205662411 2018-04-19
  • 959982410 2018-04-19
  • 7153742409 2018-04-19
  • 9349932408 2018-04-18
  • 6024052407 2018-04-18
  • 2113432406 2018-04-18
  • 7629172405 2018-04-18
  • 163882404 2018-04-18
  • 3515922403 2018-04-18
  • 5047802402 2018-04-18