write a java program that will ask the user to enter his/her name initial - first and last name, and then output a greeting that says "Hello", followed by the user's initial and an exclamation mark..

Yes, but we won't do your homework for you. Make some attempt to do it yourself and post the program you wrote so that you can ask questions about what you don't understand.

Finished.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.