#003 Java programming basics
Lab Exercises
Exercise 1: Declare, Initialize, Print variables (30 minutes)
Exercise 2: Conditional operator (30 minutes)
Exercise 3: Averaging numbers (20 minutes)
Exercise 4: Find greatest number (20 minutes)
Homework Exercise (for people who are taking Sang Shin's "Java Programming online course")
Exercise 1: Declare, Initialize, Print variables
In this exercise, you are going to learn how to declare, initialize a variable. You also learn how to modify and display a value of a variable.
Build and run OutputVariable Java program using NetBeans IDE
Build and run OutputVariable Java program using "javac" and "java" command
(1.1) Build and run OutputVariable Java program using NetBeans IDE
0. Start the NetBeans IDE if you have not done so.
1...