Question: Implement the following string manipulation behaviors using the following methods. 1. Getlnput: this method should accept first name and last name together as one string

Implement the following string manipulation behaviors using the following methods. 1. Getlnput: this method should accept first name and last name together as one string input from user. This method should have string as return type. stringEvaluate: this method should compare the size of user input. If the string size is less than 15 characters long, print "You have a very short name!". If the size is between 15 and 20 characters long, print "Your name is perfect in size". If the size is greater than 20 characters long, print "You have a very long name!". This mcthod should accept string as a parameter and have stri reverseString: this method should invert a string. This method should accept string as a parametera verticalString: this mcthod should convert a string to display vertically. This method should accept string as a parameter and have string as return type allUpperString: this method should transform a string to all upper case. This method should acceptstring as a parameter and have string as return type spliceString: this method should slice a string using space ". This method should accept string as a parameter and print both strings similar to the output shown below This method does not need to return anything. Do not try to use array in this method. generateEmail: this method should use first letter of first name string and last name to generate email address. The email should be all lower case character and in a format of abed@g.emporia.edu. This method should accept two string parameters and have string as return type main: this method should be used to call all other methods and to display output formatted as shown below 2. ng as return type. 3. 4. 5. 6. 7. 8. Your output should look similar to the one shown in the back: Enter your first name and last name: Mohammed Rahman Your Name: Mohammed Rahmarn You name is perfect in size! Your Reversed Name: namhaR demmahoM Your Name in Vertical: M Your Name in all Cap: MOHAMMED RAHMAN Your First Name: Mohammed Your Last Name: Rahman Your System Generated Email: m.rahman@g.emporia.edu
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
