Search:

Type: Posts; User: Salem

Search: Search took 0.24 seconds.

  1. Replies
    9
    Views
    7,409

    Actually, you can do this. #include...

    Actually, you can do this.


    #include <stdio.h>

    int getCustomer(void);

    int main(void)
    {
    int custNo;
  2. Replies
    9
    Views
    7,409

    > return custNo; Where does this go > ...

    > 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...
Results 1 to 2 of 2