here's my answers, if you need this explained out i'll be online on aim tonight as "gtg320y"
i went through and showed the changing values of "value" next to them.
took a guess when dividing by 10 since i'm not wholly sure how int rounds numbers.
a)(255,255,255) —> (255,255,255), value = 0
b)(128,36,100) —> (128,64,100), value = 28
c)(200,250,5) —> (200,230,5) value = 195 –> value = 20
d)(5,25,200) —> (5,45,200) value = -195 –> value = 195 –> value = 20 Student165
(int) simply cuts off the decimal. No rounding. Mark Guzdial
alright so this just changed my answers by 1
c) green = 231, value = 19
d) green = 44, value = 19 Student165