your friends is trying to write a program draws a squere 200 pixels and that looks like this square with colors red (red value 255), green(green value 255), blue(blue value 255) and magenta (red value 255 and blue value 255) all other RGB values are set to 0... I cant find the bug can someone help pls?
var img = new SimpleImage(200,200);
for (var px of img.values()){
var x = px.getX();
var y = px.getY();
if (x img.getHeight()/2){
px.setBlue(255);
}
else {
px.setGreen(255);
}
}
print (img);
Answers
Answered by
2
Answer:
Board of Studies, The Institute of Cost Accountants of India(Statutory Body ... Cost of maintenance per old book per year. `10 ... excess books are being purchased by the library per year?
Answered by
0
Answer:
i dont have a friend plzz dint ask
Similar questions