Typically you can use the compiler itself, and request it to provide the output in Assembly language, this would work on a Linux machine with GCC installed,
$ gcc program.c -S --masm=intel -o program.asm
This was of course off of my head right now, but it will work. Also, this will compile and present the Intel's version of Assembly not the AT&T, which is painful to read. :-)
Oh, and if this was an assignment to create an Assembly program for this C, then perhaps you really need to do some homework. Read the manual here,
gcc(1): GNU project C/C++ compiler - Linux man page[
^].