Write a C++ function named receipt that conforms to the following specifications:
receipt takes an array of Items as its first parameter, and an int as
a second parameter. The second parameter specifies the number of elements in the array.
Item is defined as
struct Item {
char *name;
int quantity;
float price;
};
receipt prints out a line for each item in the form
name quantity@$price $price*quantity
The last line has the total price.
E.g.
Card 6@$1.00 $6.00
Flower 12@$2.00 $24.00
Total $30.00