Properly returning and passing/calling variables through methods

You’re ignoring the return value from readAccts. You need to assign it to a variable to save it. E.g.:

numAccts = readAccts(acctNum, balance, maxAccts);

CLICK HERE to find out more related problems solutions.

Leave a Comment

Your email address will not be published.

Scroll to Top