Well what does the program do so far?
Does it compile?
Does it run?
Do you have any error messages?
If you were to run it in the debugger, and add a breakpoint after:
inData = scan.nextLine();...