Week 6

This week we will talk about loops (while, for) which lets us do repetition in programming. The loops are from Chapter 4 (4.5 – 4.6) of the textbook (Tapestry). We will continue loops more next week.

All codes covered in class are given below.

Powerpoint files

strings

loops_1

C++ codes discussed in class (some of them might have been modified in class to show extra features)

strdemo_cpp

strfind_cpp

stringremove_cpp

sum10nums_cpp

sumnums_cpp

revstring_cpp

palindrome_cpp