12345678910
void render() { int N; srand (time(NULL)); N = rand() % 10 + 1; glClear(GL_COLOR_BUFFER_BIT); glViewport(10, 10, 640, 480); rosette(N, .66f); glFlush(); }
if (N % 2 == 0) //num is even