program that prints customer bill. if the customeNo starts with "0" he is eligible for a discount... i have no idea where to begin...do i use void functions?
That depends. Are there any more directions to your project? What does your customer bill consist of? How will those carpet calculations fit in to your bill, according to your professor or whatever book you're using?
So are you wanting to...
1) Get the customers input
2) Calculate the room size
3) Get the cost of the carpet for the size of room ( (roomL*roomW)*carpetPrice )
4) Add the labor
5) Check for discount, apply discount
6) Display something like an invoice?
And judging from first look, you're gonna need a: float calcRoomSize, float calcCarpetCost
The other variables, like subtotal can be like subtotal = carpetCost + labor + etc...
EDIT: I forgot to mention but @JamesDvorak mentioned it. I won't say anything about what parameters you're gonna assign to each function, but my advice is to keep them as simple as possible while still making logical sense.