Academic Integrity: tutoring, explanations, and feedback — we don’t complete graded work or submit on a student’s behalf.

Write a Java program that inputs two String Variables, first and last, which the

ID: 441226 • Letter: W

Question

Write a Java program that inputs two String Variables, first and last, which the user should enter with their name. First, convert both strings to all lowercase. Your program should create a new string that contains the full name in pig latin with the first letter Capitalized for the first and last name. Use only pig latin rule of moving the first letter to the end of the word and adding "ay". Output the pig latin name to screen. Use the substring and toUpperCase methods to construct the new name. For example, a possible sample dialog might be Enter your first name : Abraham Enter your last name: Lincoln Your Pig Latin name is Brahamaay Incolnlay Submit the program and the output for your name and one other name.

Explanation / Answer

Brahamaay Incolnlay

Hire Me For All Your Tutoring Needs
Integrity-first tutoring: clear explanations, guidance, and feedback.
Drop an Email at
drjack9650@gmail.com
Chat Now And Get Quote