int main(void){
Your function header indicates that you're looking to return an int. To fix this, return a number (0 usually indicates a normal termination) at the end of your function.
To break it down a little,
int
indicates the return type,main
is the method name, andvoid
indicates that there are no parameters for this method.