Summer 2015 - Lesson 3 Assignments

posted Jul 2, 2015, 5:47 PM by Attila Lengyel
During this lesson, we covered some of the basic of conditional statements in Java programming. We also talked the different comparison operators we can use.

With regards to conditional statements, we covered the generic syntax of conditional statements and the if-then-else statement.
We also learned about the many different comparison operators, like the "equal to" sign, or the "not equal to" sign.

On this post, you will find three programming assignments.
Assignment 1 is a very basic exercise, which you should be able to copy into a file and run. However, before running the file, you should first determine what the output of the file will be.
Assignment 2 also provides you a large amount of code, but in this case, you will need to change the values of a few variables.
Assignment 3 is a bit more empty, asking you to provided the conditions for some if-then-else statements, and write an if-then-else statement from scratch.
Good Luck!
Ċ
Attila Lengyel,
Jul 2, 2015, 5:47 PM
ċ
Attila Lengyel,
Jul 2, 2015, 5:47 PM
ċ
Attila Lengyel,
Jul 2, 2015, 5:47 PM
ċ
Attila Lengyel,
Jul 2, 2015, 5:47 PM
Comments