in pseudocode and/or flowchart, write an application that usesString method compareTo to compare two strings input by the user.Outputs whether the first string is less than, equal to or greaterthan the second.
Solution
Flowchart:
Start Read two strings into strA, strB strA.compareTo(strB) Print strA is equal to strB Print strA is greater than strE Stop