im just trying to use the inputted terms in the main function. the error is:
hwk6.c:10: error: expected ';', ',' or ')' before '*' token
#include <stdio.h>
#include <math.h>
int getTerms(void);
int term1;
int term2;
int term3;
int term4;
int term5;
int main(int term1*, int term2*, int term3*, int term4*, int term5*)
{
getTerms();
printf("they are: %d %d %d %d %d", term1, term2, term3, term4, term5);
return 0;
}
int getTerms(void)
{
int term1;
int term2;
int term3;
int term4;
int term5;
printf("The first 5 numbers of the series now: ");
scanf("%d %d %d %d %d", &term1, &term2, &term3, &term4, &term5);
return 0;