Answered step by step
Verified Expert Solution
Question
1 Approved Answer
intelij idea please Prompt the user for two words. If they are the same, print Great- the same. If they are the same except for
intelij idea please
Prompt the user for two words. If they are the same, print Great- the same. If they are the same except for the case, print Okay- almost the same. If they are the same length, print At least the same length. You will need the following string functions 4. compareTo(otherStrina) (which returns true if matched) compareTolgnoreCaselotherString) (which returns true if matched regardless of case) length) (which returns the length) eStep 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