Chapter 1 Exercise 3 Igpay Atinlay. Write a program that prints Walt Savitch\'s
ID: 3538750 • Letter: C
Question
Chapter 1 Exercise 3 Igpay Atinlay. Write a program that prints Walt Savitch's name in "Pig Latin". The program starts with the string variable first set to his first name and the string variable last set to his last name . Both names should be all lower-case. Your program should then create a new string that contains his full name in pig latin with the first letter capitalized for the first and last name . Use only the pig latin rule of moving the first letter to the end of the word and adding 'ay'. Output the pig latin name to the screen. Use the substring and toUpperCase methods to construct the new name .
CLASS NAMES. Your program class should be called IgpayAtinlay
OUTPUT . The output should be Savitch's full name (first then last) turned into Pig Latin and in the following format:
Walt Savitch turned into Pig Latin is:
first-name -in-Pig-Latin last-name -in-Pig-Latin
Explanation / Answer
Related Questions
drjack9650@gmail.com
Navigate
Integrity-first tutoring: explanations and feedback only — we do not complete graded work. Learn more.