creating 3D triangle problem

i want to create a simple shape like a 3D triangle in openGL which allows the user to key in values so that the triangle such as height, width or volume and it will transform to that particular size. Can anyone help me on this?!?!

thx! so much

At First, you must create 3 vertex.
You must capture the keyboard event’s (For this you could use GLUT), and apply a OpenGL
function “glScalef”, assing the correct parameters to scale in each axis.