The+Bill+Calculator

**Specification: The Bill Calculator**
Write a program which will calculate an equal split of a restaurant bill.

The program should take in the number of people who are having the meal, and the cost of the bill before a tip has been added. It must then calculate a 10% tip before producing a grand total, and working out how much each person has to pay.

For example, imagine that 5 people are out for a meal. The bill comes to £60. The 10% tip equates to £6 making a total bill of £66. As there are 5 people, they must each pay £13.20 each.

Algorithm
1. get people 2. get bill 3. tip = bill * 0.10 4. display tip 5. total = 6. display total 7. perperson = 8.

Testing
Your working program should appear something like this:



**The Task**
1. Draw an input-process-output diagram 2. Copy and complete the algorithm 3. Write the program

Hints:
> > > > > >
 * Variables can be defined as Currency e.g. Dim Bill As Currency
 * To use a number from an edit field, it must first be converted to an integer using the **val** command
 * To put an integer into an edit field, it must first be converted to a string using the **str** command
 * The code has been written below to help you, with some it blanked out