umm well to do that you would first have to input the items and give a price for them. You would then have to select which one either typing the name and you would have to give a option to stop or carry on. Then you would have to store the choices in a array?? (I think) and then pass the array onto a function to be calculated.