Here is a graphical review of the topics we have introduced already. You will need a little time to consolidate this knowledge and get used to applying it, but you are already able to make useful computer programs!
Review: Intro to Netbeans, Variable, Input, If statements.
Challenges:
- Write a program that gets a year from the user and prints whether it is a leap year. (A year is a leap year if it is divisible by four, except if it is divisible by 400, except if it divisible by 2000.)
- Write a program that gets three numbers from the user and prints which number is the largest.