Java Tutorial #9 — Boolean logic / operators

Topics Discussed: Boolean Logic / Operators Source Code for Lesson 9: import java.lang.Math; import java.util.Scanner; class Jtutorial1 { public static void main(String args[]){ Scanner input = new Scanner(System.in); // Declare a double, run some tests on it. // Is it even or odd? Is it a perfect square? Is it a whole number? // Is... » read more