My task is to draw a square on black background using ppm.
What I did is this loop:
for (int h=0; h<=480; h++){
for (int w=0; w<=640; w++){
if (h>100 && h<380 && w<460){
//green paint
fprintf (fp, "%s", greenColor);
fprintf (fp, "%s", space);
} else {...
Homework Statement
Determine all solutions of z^2 = 1+2i in the form z=a+bi, where a and b are real numbers.For this question numerical evaluation is not required. I just don't know how to start.:mad:
any clue?
thanks!