So i'm being forced to take a class of programming in school idk why but I am. Thing is that even if I don't like it I still know how to do everything we've seen and have been getting good grades until now that we got a project coming up and I've tried with what we've seen in classes but I don't feel it's enough and I've asked the teacher and he says that with what we've seen it's enough so after googling programming forums I found this one and hope i'm putting this in the right forum. So pretty much what I need to do is a Gas station where it asks for the person's name and then they have to select what type of gas they want (3 types their name don't matter) once they do that the program will ask them how many litters do they want to buy and with whatever each of the 3 types of gas cost it'll tell the total amount that it'll cost to buy that much gas. After that happens they would be asked if they want to go over the process again and if they click yes it'll ask what type of gas again and everything goes again and once they hit no in if they want to do it again it'll say a message of the total price of the gas like of all of the liters in total that the user entered and the price. All of this needs to be done through JOptionPanes comboboxes or message boxes. I do know how to do some of it but there's other things I don't know how to do and because I don't I can't really do that ones I know. So this is why I hope I can get some help! Thanks! Sorry for my english i'm not from the US.