Have you ever written a program before? This is usually a good start:
Code:
int main(void)
{
// your code here
return 0;
}
Read your text book and class notes. We have tutorials here, and Google has lots more. Work your way from beginning to end. Do the practice problems until you understand user input, arrays and function calls at the very least. Start writing your code, get as far as you can and come back when you're really stuck, not lazy stuck (to quote Tater). You need to put in some serious effort before you get serious help.