Outline for June 1, 2007

  1. Greetings and felicitations!
  2. How to write a program: lab exercise #7
    1. Program #3:Write a Tipper program where the user enters a restaurant bill total. The program should display two amounts: a 15-percent tip and a 20-percent tip.
  3. How to write a program: class program design
    1. Program #1: Is the input string a palindrome?
    2. Program #2: Counting vowels
    3. Program #3: Roll a 20-sided die every time a user asks the computer to.
    4. Program #4: Read in a number as input, and roll a 20-sided die that many times.


Here is a PDF version of this document.