Hello, first time poster and begginer coding. Basically, my program below isn't storing and returning the values I need in order to continue into the next function. I have tried everything I could think of and searched the forums and I cannot find anything. Please Help!
The local variables price and total in main() are never set. In particular, the parameter total in function books() is a different variable. So is the parameter total in bookCost()