Question: Write a simple Java Program to get a string from the user and print it in the following format: If the input string is

Write a simple Java Program to get a string from the user and print it in the following format: If the input string is jsp, the output should be "* J *S*P*" (excluding the ") if the input string is Jsp, the output should be "* J *S*P*" (excluding the ")
Step by Step Solution
There are 3 Steps involved in it
Answer The code is as follow import javautilScanner public class FormatString public static void ... View full answer
Get step-by-step solutions from verified subject matter experts
