Assignment for Wednesday, February 10, 2010
Complete the code for the following functions:
1 Reverse
2 IsLetter
3 RemoveNonLetters
4 IsPalindrome
Assignment for Thursday, February 4, 2010
Complete the code for
1 Name 25 Times
2 Toss Dice
3 Heads-Tails
4 Grade "Great Job"
5 Leap Year
6 and Multiplication Tables
from the midterm exam.
Assignment for Tuesday, February 2, 2010
Complete the IsOdd, Min, LetterGrade, Factorial, and InchToCm Function Procedures.
IsOdd returns True if the number is odd; e.g., IsOdd(2)=false
Min returns the smallest of 3 numbers; e.g., Min(4,2,3)=2
LetterGrade returns the character "A" for a number grade greater than or equal to 93, "B" for greater than or equal 85, "C" for greater than or equal 77, "D" for greater than or equal 70, and "F" for less than 70; e.g., LetterGrade(75)=D
Factorial returns an integer value; e.g., Factorial(5)=120 because 5*4*3*2*1=120.
InchToCm returns a given measurement in inches converted to centimeters; e.g., InchToCm(1)=2.54