Java Tutorial #6 — Intro to if/else logic

Topics Discussed: If/Else logic and structure, if “conditionals” Source Code for Lesson 6: import java.util.Scanner; class Jtutorial1 { public static void main(String args[]){ Scanner input = new Scanner(System.in); int a = 0, b=0; //Boolean operator. == a = 4? = a is now = 4; //If conditional -- Goes into the brackets of the if,... » read more

Java Tutorial #7 — Nested If / else structure and logic

*Note*: My apologies for the volume being somewhat screwed up, Starcraft II turned up microphone boost on its own. This gets fixed in a few videos. Topics Discussed: The structure behind using nested if statements effectively and how easy it is to get them confused! Source Code for Lesson 7: import java.util.Scanner; class Jtutorial1 {... » read more

Java Tutorial #8-1 / 8-2 — Using math functions with if logic

Apologies about this being a two-part video, AND for my mic volume being weird, in future videos this is fixed. I’ll consider re-recording this later Topics Discussed: Using math functions with if-based logic to choose the output of a program Source code for Lesson 8, Part 1: 8-2 Here Topics discussed: Same as above Source... » read more

Java BugHunt #5: If Statements

Difficulty: Easy Time to solve: <5 min Video this is covered in: 6 import java.util.Scanner; public class Jtutorial1 { public static void main(String args[]){ Scanner input = new Scanner(System.in); System.out.println("How much does Employee 1 make? "); double emp1 = input.nextDouble(); System.out.println("How much does Employee 2 make? "); double emp2 = input.nextDouble(); System.out.println("How much does Employee... » read more