This preview shows page 1. Sign up to view the full content.
Unformatted text preview: 105 has a binary representation of 1101001 Divide and Conquer: LOOP (repetition) Loop 1) What code chunks shall we repeat? 2) How many times to repeat? i++ = i+1 counter controlled loops are for when you know how many repetitions you need event controlled loops are for when you don't know how many repetitions you will need, will be determined each time the prog r a...
View Full Document
This note was uploaded on 03/21/2008 for the course COMP 110 taught by Professor Stotts during the Spring '08 term at UNC.
- Spring '08