static void processTicket(TicketHandler ticket)
{ // method to process route ticket
if (ticket.getNoOfRouteTickets()>=1)
{
do
{
System.out.printf("Ticket cost: £ %.2f",...
Type: Posts; User: ncampbell605
static void processTicket(TicketHandler ticket)
{ // method to process route ticket
if (ticket.getNoOfRouteTickets()>=1)
{
do
{
System.out.printf("Ticket cost: £ %.2f",...
can any1 please tell me why the do-while loop wont work? im trying to use it to validate my program.
anytime a month appears it lets me enter any value i want when i want it to go back to the...
its ok now, got it sorted . shouldn't of had commas in the last input statement.
thanks anyway though :)
can any1 please tell me why the following code wont output the months?
the average will output but error messages wont allow the highest and lowest month to be output:
...