Tuesday, October 27, 2009

Blog 4

Problem 1:
a. 12
b. 42
c. 0
d. a * b

Problem 2:
a. 5
b. 4
c. 7
d. a/b

Problem 3:
a. Strange: a=6
b. weird: a=8; b=4; Strange: a=12
c. Strange: a=4; really weird: a=8; b=4; Strange:a=12
d. a=3; Strange: a=3; really weird: a=6; b=3; strange: a=9

Problem 4:
a. 1
b. 3
Extra Credit: It states which power of 2 the variables are.

No comments:

Post a Comment