![subject](/tpl/images/cats/informatica.png)
Computers and Technology, 14.04.2021 14:30 itzdulce
Write a program that calculates the hotel tax rate. It prompts the user to enter the cost of the room before taxes and the hotel tax per night and the state tax per night. The program will then:
Calculate the “total tax per night”:
total tax per night=hotel tax per night+state tax per night
Divide the “total tax per night” by the “cost of the room before taxes”
Then Multiply the obtained answer by 100. Then the obtained result is called “hotel tax rate”
The program will then display all the information needed as shown in the sample run below (print only two numbers after the decimal point, example :16.95)
Sample Run 1:
Enter the cost of the room before taxes (in $): 115.2
Enter the Hotel tax per night (in $): 14.8
Enter the State tax per night (in $): 3.4
The hotel tax rate is 15.79 $:
Cost of the room after taxes is 133.4$
The total Tax per night is 18.2$
Sample Run 2:
Enter the cost of the room before taxes (in $): 100
Enter the Hotel tax per night (in $): 5
Enter the State tax per night (in $): 5
The hotel tax rate is 10.0 $:
Cost of the room after taxes is 110.0$
The total Tax per night is 10.0$
please i dont have many time any help
![ansver](/tpl/images/cats/User.png)
Answers: 2
![](/tpl/images/ask_question.png)
![](/tpl/images/ask_question_mob.png)
Other questions on the subject: Computers and Technology
![image](/tpl/images/cats/informatica.png)
Computers and Technology, 23.06.2019 09:00, vetterk1400
Design a class tictactoe that: holds the following information about the game: two-dimensional array (3 by 3), and winner. add additional variables as needed. includes the functions to perform the various operations on objects. for example, function to print the board, getting the move, checking if move is valid, determining if there is a winner after each move. add additional operations as needed. includes constructor(s). write the functions of the class, and write a program that uses the class. the program should declare an object of type tictactoe. the program will create the board and store it in the array. the program will allow two players to play the tic-tac-toe game. after every valid move update the array, check if there is a winner. if there is no winner and no tie, then print the board again to continue.
Answers: 2
![image](/tpl/images/cats/informatica.png)
Computers and Technology, 23.06.2019 11:00, swelch2010
Describe three characteristics of at-risk drivers. a. b. c. describe three characteristics of safe drivers. a. b. c. describe three driver errors that could cause a collision. a. b. c. how will this information affect you as a driver now and in the future? (2-3 sentences)
Answers: 2
![image](/tpl/images/cats/informatica.png)
Computers and Technology, 24.06.2019 21:40, jose4197
Clunker motors inc. is recalling all vehicles in its extravagant line from model years 1999—2002 as well as all vehicles in its guzzler line from model years 2004—2007. a boolean variable named recalled has been declared. given a variable modelyear and a string modelname, write a statement that assigns true to recalled if the values of modelyear and modelname match the recall details and assigns false otherwise.
Answers: 2
You know the right answer?
Write a program that calculates the hotel tax rate. It prompts the user to enter the cost of the roo...
Questions in other subjects:
![Konu](/tpl/images/cats/geografiya.png)
![Konu](/tpl/images/cats/fizika.png)
![Konu](/tpl/images/cats/geografiya.png)
![Konu](/tpl/images/cats/geografiya.png)
![Konu](/tpl/images/cats/geografiya.png)
![Konu](/tpl/images/cats/geografiya.png)
![Konu](/tpl/images/cats/geografiya.png)
![Konu](/tpl/images/cats/geografiya.png)
Geography, 04.10.2019 20:00
![Konu](/tpl/images/cats/geografiya.png)