Sow to fix size of function is unknown or zero and function call missing in main : I'm trying to complete this problem but I cant figure out how to get rid of the errors. Other code that I've looked at that uses arrays and functions looks the same and works but my code wont work for some reason. These are the errors that I'm getting:

Error E2121 Q1.cpp 27: Function call missing ) in function main()
Error E2449 Q1.cpp 32: Size of 'fifty' is unknown or zero
Error E2356 Q1.cpp 32: Type mismatch in redeclaration of 'fifty(int)'
Error E2344 Q1.cpp 10: Earlier declaration of 'fifty(int)'
Error E2063 Q1.cpp 32: Illegal initialization
Error E2293 Q1.cpp 32: ) expected
Error E2141 Q1.cpp 71: Declaration syntax error


    #include <math.h>
    #include <stdio.h>
    #include <iostream>
    
    void fifty(int money);
    void twenty(int money);
    void ten(int money);
    void five(int money);
    
    
    int main()
    {
    	int money[5]; /*this contians all info about change and the money that you want change for*/
    	
    printf("Enter cash amount: ");
    	
    scanf("%d", &money[1]);
    	
    fifty(money[5]); /*Passing the array to each module*/
    	
    twenty(money[5]);
    	
    ten(money[5]);
    five(money[5]);
    /*The next two lines should print out how many of each denomination is needed*/
    printf("Change to be given: \n");
    printf("50 = %d, 20 = %d, 10 = %d, 5 = %d" money[1], money[2], money[3], money[4]);
    return(0);
    }
    
    void fifty(int money, int 5)
    {
    	/*This is getting the whole array from main() and modifying the values of each index*/
    	if (money[0] > 50) {
    		money[0] = money[0] - 50;
    		money[1]++;
    	}
    
    	return;
    }
    
    void twenty(int money, int 5)
    {
    	
    	if (money[0] > 20) {
    		money[0] = money[0] - 20;
    		money[2]++;
    	}
    	return;
    }
    
    void ten(int money, int 5)
    {
    	
    	if (money[0] > 10) {
    		money[0] = money[0] - 10;
    		money[3]++;
    	}
    	return;
    }
    
    void five(int money, int 5)
    {
    	
    	if (money[0] > 5) {
    		money[0] = money[0] - 5;
    		money[4]++;
    	}
    	return;
    }