Here is a program which expects a single argument, a person's name, which it extracts into a variable. Your task is to adapt the program so that it greets that person. For example, typing java Program Pat should result in the text Hello Pat. being printed.
This program is not robust because it doesn't check that a name is actually provided, but we can't make these programs robust until we get to grips with decision making in the next section.