Lesson Two Homework- Lessons 3.3-3.4
Algorithims, sequence, selection, iteration, mathmatical expressions, MOD, string concatination
Hack 1 3.3.1
- sequencing: steps one, two, five (specific steps in order)
- selection: step three (if statement= two choices)
- iteration: step 4 (loop)
Hack 2
My work for evaluating the code above:
num 1 = 5 num 2 = 15 num 3 = 3 * 1 * 4 = 12 result = (2 + 15) % 12 * 3/5 = 5 * 3/5 = 3
result = 3
Crossword puzzle answers:
- iteration
- selection
- sequence