Question: I need this on notepad++.. I keep struggling to code properly, getting too many errors Question 2. (StringChecker.java) Write a program that collects three Strings

I need this on notepad++.. I keep struggling to code properly, getting too many errors  I need this on notepad++.. I keep struggling to code properly,

Question 2. (StringChecker.java) Write a program that collects three Strings from the user. Determine and display whether the strings are all equal, in increasing or decreasing lexicographical (alphabetical) order or not in any specific order at all. (Hint: If you are having a hard time getting this to work with Strings try it with integers first. The logic is the same but the syntax is a bit different.) c:Icoscl0461a21>java StringChecker Enter 3 strings, one per line: apples bananas coconuts Your strings are in lexicographical order (ascending)! C: Icosc10461a21java StringChecker Enter 3 strings, one per line: coconuts bananas apples Your strings are in lexicographical order (descending)! c:lcosc10461a21>java StringChecker Enter 3 strings, one per line: apples apples bananas Your strings are in lexicographical order (ascending) C:lcosc10461a21>java StringChecker Enter 3 strings, one per line: apples coconuts bananas Those strings are not in any order i( c:Icoscl0461a21>java StringChecker Enter 3 strings, one per line: apples apples apples The strings are equal

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!