Sorry, I do not know how to fully use this website
anyways, this code is correct on my task which is:
"Write a program that prompts the user to enter:
The cost of renting one room
The number of rooms booked
The number of days the rooms are booked
The sales tax (as a percent).
The program outputs:
The cost of renting one room
The discount on each room as a percent
The number of rooms booked
The number of days the rooms are booked
The total cost of the rooms
The sales tax
The total billing amount. "
But the only problem with it is the website says I need to store my discount as a const variable, but the discount changes based on my if else statement so how do I store it as one?
I looked through my text and googled and had no luck.
I through the declaration statements at the top the "const double" to see if it would work, but no it didn't... sadly lol.