Nested loops and asterisk patterns

please not post code as image ( unless you combine it with the resulting canvas? )
use in the post editor the

</> code tag

looks like:
```
type or paste code here
```


as a start please note that
usually, we use the

setup(){}
draw(){}

structure

and also from the beginning please use variables

int mx = 100;
int my = 100;

void setup() {
  size(400,400);
}

void draw() {
  background(200);
  fill(0);
  for(int x = 0; x < mx; x+=10) {
    text("*",x,10);
    for(int y = my; y>0; y -=10) {
      text("^",0,y);
    }
  }
}

ok, that is still the same as your code,
just formatted…


now to the nesting for loop question,
actually you execute the inner for loop 10 times
( by the outer for loop )
but printing the same / at the same position

not make much sense,
if you would use like

text("^",x,y);

the nesting makes more sense, but possibly is far from what you wanted?