Homework 4
Due: March 1.
Exercises
- Write a program that prints out
My favorite number is:
with you favorite number.
- Write a program that calculate twice, three and four times
your favorite number, and prints all these numbers.
- Write a program that counts by 2's up to 60 then by -3
down to 0.
- 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.