Ask your own question, for FREE!
Mathematics 11 Online
OpenStudy (anonymous):

number of rectangles in this square of 3X3 answer is 22..? can anyone explain how for(int rect_width=1;rect_width<=width;rect_width++) for(int rect_height=1;rect_height<=height;rect_height++) { if (rect_width==rect_height) continue; // Don't count squares! for(int left=0;left<=width-rect_width;left++) for(int top=0;top<=height-rect_height;top++) count++; i couldnot understand this

OpenStudy (anonymous):

here width=3 and height=3

OpenStudy (nikita2):

|dw:1327775238628:dw| You should calculate suchh `

Can't find your answer? Make a FREE account and ask your own questions, OR help others and earn volunteer hours!

Join our real-time social learning platform and learn together with your friends!
Can't find your answer? Make a FREE account and ask your own questions, OR help others and earn volunteer hours!

Join our real-time social learning platform and learn together with your friends!