[Solved] Error declaring in scope
In function main, you call function displayBills, yet the compiler does not know this function at this point (because it is declared/defined later in the file). Either put the definition of displayBills(int dollars) { … before your function main, or put at least a forward declaration of this function before function main: displayBills(int dollars); // … Read more