This is what i have so far: and im at a loss of what to do next. spent hours and hours so far and am getting over it. please post helpful meaning code with explanations as i dont know much and am new to this world of programming.
System.out.println ("Enter a sentence:");
input = scan.nextLine();
current = input.charAt(0);
if (current == 'a')
output = output + current;