Question: Write a program that prompts the user to enter a string and displays its length and its first character.
Write a program that prompts the user to enter a string and displays its length and its first character.
Step by Step Solution
3.53 Rating (150 Votes )
There are 3 Steps involved in it
Program plan Create a class called Stringength Initialize the main method with variable s as string ... View full answer
Get step-by-step solutions from verified subject matter experts
