I'm supposed to prompt for the users first and last name, and output just the first name. No f***ing clue how to do that.
I know how to get it to output both in a dialog box.
Any help will be appreciated.
that's me code so far.
public class Program313
{
public static void main( String [ ] args )
{
String name = JOptionPane.showInputDialog( null,
"Please enter your first and last names"
;JOptionPane.showMessageDialog( null, "Hello, " + name);
}
}




ou're so heterophobic" -Lyli