Lecture 5 Outline (October 5, 2015)
Reading
:
text
§4
Greetings and felicitations!
Change to office hours for today: the 11:00am–11:50am office hour will not be held, but I’ll hold an office hour today at 3:10–4:00pm
Writing a program: cents to coins
Show converting statements to program
Need for error checking
Relations and conditionals
<
,
<=
,
>
,
>=
,
==
,
!=
&&
,
||
,
!
Use in a
while
loop
Error handling
if
statement
Back to program
Usability: prompt for amount
You can also obtain a PDF version of this.
Version of October 5, 2015 at 5:40AM