Lecture 11: Loops 2Thursday, October 06, 2011 Status: complete
[Up] [Previous Lecture] [Next Lecture]
Powerpoint Slides: none
Reading Assigned: 5.4
- More while loops
- Finish up Classwork 10
- Quiz 1
- Pester the user until he enters a positive number: input1.c.
- Pester the user using a while loop with a break statement: input2.c.
- The scanf() function actually returns a value. It returns the number of items matched in the control string: scanf5.c, scanf6.c.
- A program that reports the smallest number entered by the user: min1.c, min2.c and min3.c.