Yahoo Answers is shutting down on May 4th, 2021 (Eastern Time) and beginning April 20th, 2021 (Eastern Time) the Yahoo Answers website will be in read-only mode. There will be no changes to other Yahoo properties or services, or your Yahoo account. You can find more information about the Yahoo Answers shutdown and how to download your data on this help page.
Trending News
computer programming question?
This is a question in my programming class and i cannot figure out the answer.
Write a program that inputs the first name, middle initial (without the period), and the last name of a user and displays that person's name with the first name first, middle initial followed by a period, and last name last? Please help it's due in the morning.
2 Answers
- 1 decade agoFavorite Answer
Take input into three different variables.
(Concat operator in java is + .)
Replace + with your concat operator in below statement
String strvariable = firstname+middleinitial+'.'+lastname;