Parking Garage program

This is a discussion on Parking Garage program within the C++ Programming forums, part of the General Programming Boards category; [code]So, not sure if my other post took since I tried to look for it and cannot find it but ...

Now the private is already there so I'm not quote sure how I'm suppose to use up 4 lines on this like I think it should be void calculateCusomterParkingCharge() { but that is only one line......
there is a couple of of those in this program but normally it breaks it down by line and not 21 thru 24 etc.

Now, can you
a) post an even better copy with better indentation
b) explain what all those A-n-n-n comments are for. If you want to refer to line numbers in the code, then the board automatically numbers the code anyway.
c) explain what you're expecting for all those "TO DO" comments.

Ok, here goes, I've removed most of the A-x-x-x (which is the sheet/code that were supposed to write from. The part I'm trying to figure out the code sheet says to:
A-1-1-21) through A-1-1-24) Enter function header for private member function calculateCustomerParkingCharge and opening brace for function’s body

See how much simpler the program seems now, compared to that amorphous blob of text Remember that code is for humans to read, not computers, so use whatever whitespace you need to make the structure of the program clear to you.
(Hopefully you'll notice the syntax errors littered about now, too; compilers do a good enough job yelling about those sorts of things so I'll avoid them for the time being.)

based on this prototype provided later on in the file, it looks like your instructor likes to have one argument per line. Presumably, that's where the extra lines would come from. And if the number of lines in your answer actually matters (which seems awfully silly to me) I'm sure you could take some... liberties... with the whitespace

So, to determine what would go in those lines, I'd need to look in the body of that function and int everything? This is my first programming class and it's getting harder and harder. I should not of took this class as an online class but with my work schedule it's pretty much all I can do at this point. So if I do something like this for Lines A-1-1-21 through a-1-1-24. I get this......