When writing simple programs that receive input from the user, the prompt only displays after the input.
import java.util.Scanner; public class Example{ publ