Hell ive been working on a project given to me. I have done functions in prior assignments and now i cant solve a problem. I recieve an error saying error C2143: syntax error : missing ';' before 'type' my code is
cant figure out what the problem is. suggestions would be help fullCode:#include<stdio.h>
#include<math.h>
int chooseaccounttype();
switch (select)
{
case 'A':
case 'a':
printf("enter amount to deposit");
scanf("%f",&x);
sum=y+x;
z=chooseaccounttype();
getch();
break;
int chooseaccounttype(void)
{
int c;
printf("choose");
getch();
return 0;
}