How do you make a Circle?

AHHHHHH! lil help pls

float scale = 1.0;
int step = 5;

glBegin(GL_TRIANGLE_FAN);

for(float ang=0; ang<360; ang+=step){
x = cosf(ang3.14f/180.0f) * scale;
y = sinf(ang
3.14f/180.0f) * scale;
glVertex3f(x, y, 0.0);
}

glEnd();

adjust the values for scale and step to your needs

thank you so much