Lecture 6


Click here to start

Table of Contents

Lecture 6

Lecture 5 review

Lecture 5 review

Read Vs Readln

Reading strings

Problem 2, page 140

Problem 3, page 141

Problem 5, page 141

Problem 7, page 141

Problem 9, page 142


Adding numbers

Loops to the rescue

Gauss & his annoying teacher

Structure of the ‘for-loop’

What can go wrong?

More complex loop program


Programs from this lecture

Author: Alex Iskold

Email: iskold@cs.nyu.edu

Download presentation source