@Dylan
Thanks so much. I think I understand what I did wrong now. Here is the new code that actually multiplies 'correctly'.
Code:
#include <stdio.h>
int multiply(int x, int y);
int pause();
int main () {
int x;
int y;
printf("Hello there!\n");
pause();
printf("Please enter a number:");
scanf("%i", &x);
printf("Please enter a second number:");
scanf("%i", &y);
multiply (x, y);
return 0;
}
int multiply (int x, int y) {
int a = x * y;
printf("The product of your numbers is: %i", a);
return 0;
}
int pause() {
int move_on;
printf("Press 'Enter' to continue");
move_on=getchar();
return(0);
}
@iMalc
Completely understandable, I'll be sure to check my warning settings. Thank you
@Adak
Thank you very much, I really appreciate it. Hopefully I keep with it to where I can actually do something with a program I make.