The cost of renting a room at a hotel is, say $100.00 per night. For special occasions, such as a wedding or conference, the hotel offers a special discount as follows. If the number of rooms booked is: at least 10, the discount is 10% at least 20, the discount is 20% at least 30, the discount is 30% Also if rooms are booked for at least three days, then there is an additional 5% discount. Instructions 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. Your program must use appropriate named constants to store special values such as various discounts.
Answers: 2
Business, 22.06.2019 05:00
One question from a survey was "how many credit cards do you currently have? " the results of the survey are provided. complete parts (a) through (g) below. click the icon to view the survey results. (a) determine the mean number of credit cards based on the raw data. the mean is 3.113.11 credit cards. (type an integer or a decimal. do not round.) (b) determine the standard deviation number of credit cards based on the raw data. the standard deviation is 1.9111.911 credit cards. (round to three decimal places as needed.) (c) determine a probability distribution for the random variable, x, the number of credit cards issued to an individual. x (# of cards) p(x) x (# of cards) p(x) 1 0.280.28 6 nothing 2 nothing 7 nothing 3 nothing 8 nothing 4 nothing 9 nothing 5 nothing 10 nothing (type integers or decimals. do not round.)
Answers: 2
Business, 22.06.2019 19:10
Robin hood has hired you as his new strategic consultant to him successfully transform his social change enterprise. robin has told you that he counting on your strategic management knowledge to him and his merrymen achieve their goals. discuss in detail what you think should be robin’s two primary strategic goals and continue by also explaining your analytical reasons that support your recommendations.
Answers: 3
Business, 22.06.2019 20:20
An economic theory that calls for workers to take control of factories is .
Answers: 3
Business, 22.06.2019 20:40
Spartan credit bank is offering 7.5 percent compounded daily on its savings accounts. you deposit $5,900 today. a. how much will you have in the account in 4 years? (use 365 days a year. do not round intermediate calculations and round your answer to 2 decimal places, e.g., 32.16.) b. how much will you have in the account in 12 years? (use 365 days a year. do not round intermediate calculations and round your answer to 2 decimal places, e.g., 32.16.) c. how much will you have in the account in 19 years?
Answers: 2
The cost of renting a room at a hotel is, say $100.00 per night. For special occasions, such as a we...
English, 23.11.2020 22:00
Biology, 23.11.2020 22:00
Geography, 23.11.2020 22:00
Mathematics, 23.11.2020 22:00
Mathematics, 23.11.2020 22:00
Biology, 23.11.2020 22:00
Business, 23.11.2020 22:00
History, 23.11.2020 22:00
Mathematics, 23.11.2020 22:00
Spanish, 23.11.2020 22:00
English, 23.11.2020 22:00
Mathematics, 23.11.2020 22:00