Define "cant get this code to do the if else part"...and I recommend using equals instead of == when comparing Strings. See...