I know very little aboout coding and less of Java
Logic says I should be able to do something like this:
int i;
String taxFileNumber;
System.out.printf(" Enter Tax File Number (TFN): ");
for(i = 0; i < TFN_SIZE; i++)
{
if(i == 3 || i == 7)
{
taxFileNumber.charAt(i) = " ";
}else
{
taxFileNumber = input.next().charAt(i);
}
System.out.println();
}
Howsoever methinks my logic and ability do not sync
Any assistance would be greatly appreciated
TYIA