Question: You can assume 3 String variables - name, name2, and name3 -- have been defined and initialized values from user input rady You may defined
You can assume 3 String variables - name, name2, and name3 -- have been defined and initialized values from user input rady You may defined additional variables, if you need You can use S.O.P/5.0. Pin for print. But everything else has to be correct java syntax You will use appropriate conditioning statement of your choice to tell ca) name1, name, and names are exactly the same, and (b) if not, print them in alphabetical order (gnore case) Format your own ontout, and make sure to print values from variables and not hardcode namet, name name when you print
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
