Actually, you can do this.
#include <stdio.h>
int getCustomer(void);
int main(void)
{
int custNo;
Type: Posts; User: Salem
Actually, you can do this.
#include <stdio.h>
int getCustomer(void);
int main(void)
{
int custNo;
> return custNo;
Where does this go
> getCustomer(custNo);
when you get back to here?
> scanf("%d\n", &custNo);
You should remove the \n from the format string, it doesn't do quite what...