Outline for May 30, 2007

  1. Greetings and felicitations!
  2. How to write a program: lab exercise #7
    1. Program #1: This program should print out your name, the date, and then compute and print out a binary representation of an integer between 0 and 31 inclusive. For this exercise, you can print the binary digits in reverse order.
    2. Program #2: This program asks the user to type some text. It then prints what the user typed in quotation marks, followed by what the user typed with all vowels (the letters "a", "e", "i", "o", and "u") capitalized and in quotation marks.
    3. 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.

Here is a PDF version of this document.