*******PROBLEM HAS BEEN SOLVED**********
Hello All!, Nice to meet you I'm Wylie Wong![]()
The day before yesterday, we were assigned a class exercise and i landed on a dead end.
PROGRAM EXCERCISE 3
program will receive two cmd line arguments.
a) Do they match? ( e.g Line Yes <--- Line is 4 letters therefore they do not match )
b) if not, which one is longer?
I've figured out how to answer a) as you will see in my code. But I am stuck on b. Any advice on how to finish this beginner excercise problem?
Java Code Excercise 3.jpg


LinkBack URL
About LinkBacks
Reply With Quote

However, I solved the problem already but i still appreciate your help.