Wednesday, September 23, 2009

Presentations Chapter 7 through 10

Chapter 7



Chapter 8



Chapter 9



Chapter 10

Tell me the sum!

If we list all the natural numbers below 10 that are multiples of 3 or 5, * we get 3, 5, 6 and 9. The sum of these multiples is 23.
Find the sum of all the multiples of 3 or 5 below 1000.

Wednesday, September 16, 2009

Today

Examined subString, length with Strings
Used for loops to count down
Used while loops to count up
Used do while loops to enter nonnegative numbers.
Entered three numbers and found the sum and product.
Entered three numbers and found the largest number.
Determined whether a number is a multiple of 3 or 7.
Asked user for seven numbers and stored them in an array (using a loop).
Make a String array and store 3 people's names in it. Output the results.
Use the Scanner to enter the names from the console and store them in an ArrayList.
Make a ProgrammingStudent class that stores Name, programming ability, and ID.