Write a program that reads two words representing passwords for the Java console and outputs the number of characters in the smaller of the two. For example, if the two words are open and sesame, then the output should be 4, the length of the shorter word, open.
I just started learning this in class, I don't think we went over this. It makes no sense to me. How do I answer this? What would the answer look like?
2007-02-04
16:44:15
·
2 answers
·
asked by
Chestnut C
1
in
Computers & Internet
➔ Programming & Design