1. Help with C programming

Given an expression with three operands and two operators as input, evaluate the expression while following the rules of operator precedence.

Example Execution #1:
Enter the expression in the form [int char int char int]: 4 + 5 + 6
(4 + 5) + 6 = 15

These are the instructions for the code i'm supposed to me writing and this is the code I've managed to write:

Code:
```
#include <stdio.h>

int getInput (int *, char *, int *, char *, int *);
int logiCalc (int *, char *, int *, char *, int *);

int main ()

{
//LOCAL DECLARATION

int numA;  // FIRST INTEGER
int numB;  // SECOND INTEGER
int numC;  // THIRD INTEGER
char opA;  // FIRST OPERAND
char opB;  // SECOND OPERAND
int input; // CALLING INPUT FUNCTION
int result; //CALLING THE OPERAND FUNCTION

// EXECUTABLE STATEMENTS

input =  getIntput(&numA, &opA, &numB, &opB, &numC);
result = logiCalc (&numA, &opA, &numB, &opB, &numC);

return(0);

}

int getInput (int numA, char opA, int numB, char opB, int numC)

{
printf("Enter the expression in the form [int char int char int]:");

scanf("%d %c %d %c %d", &numA, &opA, &numB, &opB, &numC);

return (0);
}

int logiCalc (int numA, char opA, int numB, char opB, int numC)

{
switch (opA)
{
case '+': printf("%d + %d", numA, numB);
break;

case '-': printf("%d - %d", numA, numB);
break;
case '*': printf("(%d * %d", numA, numB);
break;
case '/': printf("(%d / %d", numA, numB);
break;
case '%': printf("(%d %% %d", numA, numB);
break;
default:  printf("Enter the correct operator\n");
}

switch (opB)
{
case '+': printf("+ %d)\n", numC);
break;
case '-': printf("- %d)\n", numC);
break;
case '*': printf("* %d)\n", numC);
break;
case '/': printf("/ %d)\n", numC);
break;
case '%': printf("%% %d)\n", numC);
break;
default:  printf("Enter the correct operator\n");
}

return(0);
}```
I'd like some assistance as to how to proceed as i think there are a few problems with my logic. Also there is an error when i compile this code: conflicting types in the both the user defined functions.

2. Your prototype functions' arguments are pointers, whereas in your actual functions, they are not. Thus there is a mismatch between your function prototypes & your actual function declarations.

3. I'm very new to programming and don't really know how to fix this error...could you please explain how I could do that?

int logiCalc (int numA, char opA, int numB, char opB, int numC)
int logiCalc (int *, char *, int *, char *, int *);

int x; //this is an integer, x
int *x; //this is a pointer to an integer x

5. Thx that makes a lot more sense now!!!

And could you tell me if my logic is correct for the given problem and execution statement

6. First thing, write your code in code tags..... e.g
Code:
`Your code here`
So that it would be easy to understand and read.