How is your code close? You don't use loops to handle more than one record, you don't use a structure to store a single record, and you don't have a function that processes the records into a bill. I think you should talk to your instructor so that you have a better idea of what the requirements are before trying to write code.
Narue
Bad Cop
15,460 posts since Sep 2004
Reputation Points: 6,464
Solved Threads: 1,401
>she refuse to talk with her
Then complain! It's her job to teach and help you. You're paying her good money to show you how to program, so force her to do it. I mean please, if you don't even have detailed requirements for the homework, how can you be expected to do it?
Narue
Bad Cop
15,460 posts since Sep 2004
Reputation Points: 6,464
Solved Threads: 1,401
>beleve me she descuss the homework after we give it to her so I need it to be right
You have a piss poor teacher. I can see it now:
Teacher: "This is your homework: "
Class: "But how do we do it?"
Teacher: "That's what you're here for, to learn"
Class: "But you didn't teach us anything!"
Teacher: "We'll discuss the homework after you turn it in and fail"
Class: "WTF!"
And you people just keep letting yourselves get shafted. What a crock. If you're paying someone to teach you how to do something, you should get your money's worth our of it.
Narue
Bad Cop
15,460 posts since Sep 2004
Reputation Points: 6,464
Solved Threads: 1,401
>as if you where with us in the class
It's the only logical conclusion, and I'm thankful that I'm not in your class.
Narue
Bad Cop
15,460 posts since Sep 2004
Reputation Points: 6,464
Solved Threads: 1,401