I have created two classes, TicketMachine and User. The TicketMachine is supposed to print a ticket with adult tickets and child tickets, amount of money inserted (method), total income, balance etc....
Type: Posts; User: heptix
I have created two classes, TicketMachine and User. The TicketMachine is supposed to print a ticket with adult tickets and child tickets, amount of money inserted (method), total income, balance etc....
The reason why I double quote is that I use the datatype String as parameter. The fields priceChild and priceAdult is both double, so thats not the problem.
I'm new to Java, and I'm trying to write a program using BlueJ for a school assignment. I get several errors when I try to compile the source code. Please help! :confused:
public double...