I got part of this code written, but I am not sure how to make it so that it will return the smaller of the two passwords entered.


package password;

/*50. Write a program that reads two words...