id- Hotel Booking The cost of renting a room at our hotel is $100.00 per night for Standard Rooms and $150.00 for the top floor Penthouse Rooms. There are only 20 Penthouse rooms total o The sales tax is 6% 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% and at least 30, the discount is 30%. Also if rooms are booked for at least 3 days, then there is an additional 5% discount. e l the number of rooms booked happens to be a prime number then there will be an additional Nerd Discount of 7%. . These discounts must be explicitly mentioned in your output Non Iterative Prime Numbers For Nerd Discount: . The first 11 prime integers are 2,3,5,7, 11, 13, 17, 19, 23, 29, and 31. A positive integer between 1 and 1000 (inclusive), other than the first 11 prime integers, is prime if it is not divisible by 2, 3, 5, 7, 11, 13, 17, 19, 23, 29, and 31 . What I want you to do here is to write an algorithm that will apply the discount if the number of rooms is not evenly divisible by any number in the list: 2,3, 5, 7,11, 13, 17, 19, 23, 29, and 31. You can determine divisibility using check for a remainder of 0. modulus division with a . I want you to write this algorithm using a compound boolean condition and logical operators. This means a single if statement containing all of the tests, joined together using &&, or II (whatever is appropriate) NOTE: I will be testing for prime numbers that are NOT in this list and you are not allowed to simply write an enormous if statement testing for all prime numbers up to 1000. You may only use the list given to calculate whether or not a number is prime. Write a program that prompts the user to enter The type of room requested (Standard or Penthouse) the number of rooms requested e the number of days the rooms are booked s the tvpe v ask this auestion if the number of rooms reauested is 10 or more When make sure to click Submit. and any number in the list: 2, 3, 5,7, 11, 13, 17, 19, 23, 29, and 31. You can determine divisibility using modulus division with What I want you to do here is to write an algorithm that will apply the discount if the number of rooms is not evenly divisible by check for a remainder of 0 . I want you t to write this algorithm using a compound boolean condition and logical operators. This means a single # statement containing all of the tests, joined together using&&, or II (whatever is appropriate) NOTE: I will be testing for prime numbers that are NOT in this list and you are not allowed to simply write an enormous if statement testing for all prime prime numbers up to 1000. You may only use the list given to calculate whether or not a number is Write a program that prompts the user to enter The type of room requested (Standard or Penthouse) e the number of rooms requested e the number of days the rooms are booked the type of occasion. Only ask this question if the number of rooms requested is 10 or more Things to include If the user wants Penthouse rooms, but requests more than 20 then the program should charge for 20 Penthouse rooms and the remainder as Standard Rooms The program will then output: o The The number of rooms e Whether or not the rooms are Standard or Penthouse, or Both (see "Things to Include") The number of days requested The total cost of the booking BEFORE any discounts are applied . An itemized list of ALL discounts applied and the monetary amounts of each . The discounted charge The amount of sales tax total cost for the booking . The output should be directed to a file and meet the following formatting requirements. I will be grading this strictly make sure to click Submit. k Save as Drafit to save When ch id- Hotel Booking The cost of renting a room at our hotel is $100.00 per night for Standard Rooms and $150.00 for the top floor Penthouse Rooms. There are only 20 Penthouse rooms total o The sales tax is 6% 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% and at least 30, the discount is 30%. Also if rooms are booked for at least 3 days, then there is an additional 5% discount. e l the number of rooms booked happens to be a prime number then there will be an additional Nerd Discount of 7%. . These discounts must be explicitly mentioned in your output Non Iterative Prime Numbers For Nerd Discount: . The first 11 prime integers are 2,3,5,7, 11, 13, 17, 19, 23, 29, and 31. A positive integer between 1 and 1000 (inclusive), other than the first 11 prime integers, is prime if it is not divisible by 2, 3, 5, 7, 11, 13, 17, 19, 23, 29, and 31 . What I want you to do here is to write an algorithm that will apply the discount if the number of rooms is not evenly divisible by any number in the list: 2,3, 5, 7,11, 13, 17, 19, 23, 29, and 31. You can determine divisibility using check for a remainder of 0. modulus division with a . I want you to write this algorithm using a compound boolean condition and logical operators. This means a single if statement containing all of the tests, joined together using &&, or II (whatever is appropriate) NOTE: I will be testing for prime numbers that are NOT in this list and you are not allowed to simply write an enormous if statement testing for all prime numbers up to 1000. You may only use the list given to calculate whether or not a number is prime. Write a program that prompts the user to enter The type of room requested (Standard or Penthouse) the number of rooms requested e the number of days the rooms are booked s the tvpe v ask this auestion if the number of rooms reauested is 10 or more When make sure to click Submit. and any number in the list: 2, 3, 5,7, 11, 13, 17, 19, 23, 29, and 31. You can determine divisibility using modulus division with What I want you to do here is to write an algorithm that will apply the discount if the number of rooms is not evenly divisible by check for a remainder of 0 . I want you t to write this algorithm using a compound boolean condition and logical operators. This means a single # statement containing all of the tests, joined together using&&, or II (whatever is appropriate) NOTE: I will be testing for prime numbers that are NOT in this list and you are not allowed to simply write an enormous if statement testing for all prime prime numbers up to 1000. You may only use the list given to calculate whether or not a number is Write a program that prompts the user to enter The type of room requested (Standard or Penthouse) e the number of rooms requested e the number of days the rooms are booked the type of occasion. Only ask this question if the number of rooms requested is 10 or more Things to include If the user wants Penthouse rooms, but requests more than 20 then the program should charge for 20 Penthouse rooms and the remainder as Standard Rooms The program will then output: o The The number of rooms e Whether or not the rooms are Standard or Penthouse, or Both (see "Things to Include") The number of days requested The total cost of the booking BEFORE any discounts are applied . An itemized list of ALL discounts applied and the monetary amounts of each . The discounted charge The amount of sales tax total cost for the booking . The output should be directed to a file and meet the following formatting requirements. I will be grading this strictly make sure to click Submit. k Save as Drafit to save When ch