I posted an attachment describing what I need to do, and yes it is homework. I only need help on part one though. I've already done the other parts. To be honest I'm drawing a blank as to how to proceed and don't really have much.
This is what I have so far:
public static void recRuler(double x, double y, double w, double h){ if(h > 2){ System.out.println(w/2 + " " + h); recRuler(x, y, w/2, h/2); } } }
Like I said, I'm drawing a blank :/
Thanks in advance.