how to solve this task!!!!!plz....

How to do this assigment.im did not understand it..plz somebody help me.i will appriciate anybody who will help me.
The program question are like this:-

The owner of a snack bar wants a system which will allow a menu, with prices, to be built
up, items added, deleted and prices adjusted. The system should also allow the owner to
enter a customer's order and get a display of the bill, with the total price. Obviously the
system will be interactive. It should be possible to store menus and bill information in
files.
Last edited on
Start with this:

1
2
3
4
5
6
7
#include <iostream>

int main()
{
     std::cout << "hello world!" << std::endl;
     return 0;
}



Just some ideas:
1) When the program starts you need to be able to look for an existing file. If there isn't one you'll have to create an empty file that you can later fill with the data that was accumulated during the execution of the program.

2) I assume this is a beginner class so you will probably just need to write a bunch of small functions. Think about each task that needs to be accomplished (print menu, get an order, calculate bill, add, delete, and so forth) and determine the interface for these functions. You can write the declarations for each function you think you'll need. This will allow you to write the program in small pieces and then you connect everything together in your main by calling each one when needed.
Topic archived. No new replies allowed.