a continuation of IF statements, the if/else statements make everything more organized and easier to read. Before if I wanted more then one result from a variable I would've had to write more then one if statement, for ex., if ( t= = 3){ out. print.ln(........) / if (t>3){ out.println(....)
with the else statements, i can write this same code as if (t = = 3){ out.print.ln(....) else out.println(.....). This will make everything much easier when it comes time to start writing complicated programing. I had some trouble with the labs though.
Along with if/else, we also learned how to compare strings. there is code to see if the string words are the same, what the difference in ascii values are, and can even replace every letter in that string with something else. The only problem I've had with this was with the word sequencing lab. IN that lab, we had to find out if the word goes before another word. At first, words whos first letter was different from the second word's first letter would be put first, but when they have the same, I got bad results.