NEED A PERFECT PAPER? PLACE YOUR FIRST ORDER AND SAVE 15% USING COUPON:

4.8/5

homework help 3374

i need to create a java program call FancyMyName which asks you to wrte a program that tests and using the different methods for working with Strings.

This program will ask the user to enter their first name and their last name, separated by a space.

Read the user’s response using Scanner. Seperate the input string up into two strings, one containing the first name and one containing the last name.You can accomplish this by using the indexOf() hint*** find the position of the space, and then using substring() to extract each of the two names. Also output the number of characters in each name, and output the user’s initials. The initials are the first letter of the first name together with the first letter of the last name.

A sample run of the program should look something like this:

Please enter your first name and last name, separated by a space?

You entered the name: Louis Henry

Your first name is Louis: has 5 characters

Your last name is Henry: has 5 characters

Your initials are: LH

Solution:

15% off for this assignment.

Our Prices Start at $11.99. As Our First Client, Use Coupon Code GET15 to claim 15% Discount This Month!!

Why US?

100% Confidentiality

Information about customers is confidential and never disclosed to third parties.

Timely Delivery

No missed deadlines – 97% of assignments are completed in time.

Original Writing

We complete all papers from scratch. You can get a plagiarism report.

Money Back

If you are convinced that our writer has not followed your requirements, feel free to ask for a refund.

WeCreativez WhatsApp Support
Our customer support team is here to answer your questions. Ask us anything!
? Hi, how can I help?