Answered step by step
Verified Expert Solution
Question
1 Approved Answer
You are program will: Call your printWelcomel) or printWelcome(String value) Request User for a String Display the Users String . Then Perform the following tasks
You are program will: Call your printWelcomel) or printWelcome(String value) Request User for a String Display the Users String . Then Perform the following tasks and functions below. Perform the Following Functions on the String and Print It Convert the String to Upper String Convert the String to Lower Case ADDITIONAL Methods to Call Since we have already started to USE Methods in Coding Bat make the following as Functions using the logic outlined above. You will PERFORM ALL of the methods below agains the INPUT from the user. ** REMEMBER If the Method returns a value, you MUST print it from main and ideally capture the value in a variable and then print it! public static void reverseString(String val){ NOTE: Using for loop and charAt reverse the string. } public static int countEandG(String val){ int letterCnt = 0;
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started