Topics Discussed: For / While loops, loop structure, using counter controlled loops. Source code available here. Loops In this video I discuss two or the most important constructs in the entire language of java. In the next lesson I talk a bit more about for loops, which seem to be used a little more than... » read more
Homework: Topics Discussed: Using the break; statement to get out of loops, using conditions to break loops, sentinel loops. Source code: http://ideone.com/2tMuY — Special thanks to hugo for transcribing it.
Code difficulty: 3/10 Math difficulty: 4/10 In this challenge I ask that you do the following things: Create a program that will: Allow a user to input a number Allow the user to see if the number is prime or not If the number is not prime, tell the user what number it is divisible... » read more
Code difficulty: 4/10 Math difficulty: 4/10 Before we begin here: Q. What is a dual prime? A. A dual prime is 2 prime numbers that are exactly “2” apart. Example: 3, 5 // 11,13, etc. In his challenge I ask that you do the following things: Create a program that will: Allow a user to... » read more