The function main is indeed expected to be in lower case. In C, the names of functions are case-sensitive.
Go back and see if you can tell what else is wrong with the program.