Homework 4

Due: March 1.

Exercises

  1. Write a program that prints out My favorite number is: with you favorite number.
  2. Write a program that calculate twice, three and four times your favorite number, and prints all these numbers.
  3. Write a program that counts by 2's up to 60 then by -3 down to 0.
  4. Write a program that counts to 100, but which writes LUCKY instead of 11, 22, and so on, and UNLUCKY instead of 13, 26, and so on.