Sierpinski Triangle in Fortran 95

I was assigned the task of writing a program (code) in Fortran (.f95) that would plot points according to X and Y and form a figure that resembled the Sierpinksi Triangle. For those of you who are not aware of what the Sierpinksi triangle is,I will give a brief description, but a quick web search…