Write a program that prompts the user for their first and last name. Display the first initial of their first name and their last name to the user.
Ask the user to input a phone number.
The program checks which part of Colorado a phone number is from using the values below.
If the second digit of the phone number is one of the below digits, print the phone number and which part of Colorado it is from. If none of the digits are entered, display the phone number and state it is not in Colorado.
If the number is in Estes Park, the user should see: phone number + “is in Estes Park, it is time to go pick up your new Corgi puppy!”
If the second digit of a phone number is:
0 = Boulder
1 = Colorado Springs
2 = Denver
7 = Estes Park
Sample output:
Please enter your first and last name: Ollie Biscuit
Hello, O Biscuit! //displays first initial and last name
Please enter a phone number:
Your phone number is: xxx-xxx-xxxx. Your number is not in Colorado.
OR
Your phone number is: xxx-xxx-xxxx. Your number is in Denver.
OR
Your phone number is: xxx-xxx-xxxx is in Estes Park, it is time to go pick up your new Corgi puppy!
In: Computer Science
8. A hotel manager is looking to enhance the initial impression that hotel guests have when they check in. Believed to contribute to initial impressions is the time it takes to deliver a guest’s luggage to his or her room after check-in. A random sample of 20 deliveries on a particular day were selected from Wing A of the hotel, and a random sample of 20 deliveries were selected in Wing B (i.e., the Excel tab LUGGAGE). (a) Identify which type of test is most appropriate for you to use, justify your answer. (b) Determine whether or not the mean delivery time differs for the two wings of the hotel (use α = .05). (c) If faster luggage delivery time is positively related to guests’ initial impression, which wing(s) should receive the highest impression ratings? (3 points)
| Wing A | Wing B |
| 10.20 | 13.70 |
| 12.68 | 12.89 |
| 12.29 | 14.83 |
| 11.95 | 12.23 |
| 9.61 | 11.56 |
| 11.53 | 16.05 |
| 11.92 | 15.20 |
| 14.92 | 16.86 |
| 13.69 | 13.26 |
| 14.00 | 10.09 |
| 15.35 | 13.74 |
| 9.05 | 13.85 |
| 15.01 | 13.57 |
| 8.28 | 14.06 |
| 12.23 | 11.91 |
| 14.25 | 14.79 |
| 11.44 | 13.59 |
| 9.57 | 12.13 |
| 13.61 | 14.37 |
| 9.77 | 12.91 |
In: Statistics and Probability
In: Accounting
Show all work. Use a MARR of 2% !
|
A |
B |
|
|
Initial Construction costs |
$ 15,000,000.00 |
$ 45,000,000.00 |
|
Annual Maintenance Costs |
$ 3,750,000.00 |
$ 2,000,000.00 |
In: Economics
Problem 5-10 Long-term contract; revenue recognition over time [LO5-8, 5-9]
[The following information applies to the questions
displayed below.]
In 2018, the Westgate Construction Company entered into a contract
to construct a road for Santa Clara County for $10,000,000. The
road was completed in 2020. Information related to the contract is
as follows:
| 2018 | 2019 | 2020 | |||||||
| Cost incurred during the year | $ | 2,580,000 | $ | 4,042,000 | $ | 2,175,800 | |||
| Estimated costs to complete as of year-end | 6,020,000 | 1,978,000 | 0 | ||||||
| Billings during the year | 2,060,000 | 4,562,000 | 3,378,000 | ||||||
| Cash collections during the year | 1,830,000 | 4,200,000 | 3,970,000 | ||||||
Westgate recognizes revenue over time according to percentage of
completion.
rev: 09_15_2017_QC_CS-99734
Problem 5-10 Part 5
5. Calculate the amount of revenue and gross
profit (loss) to be recognized in each of the three years assuming
the following costs incurred and costs to complete information.
(Do not round intermediate calculations and round your
final answers to the nearest whole dollar amount. Loss amounts
should be indicated with a minus sign.)
| 2018 | 2019 | 2020 | |||||||
| Cost incurred during the year | $ | 2,580,000 | $ | 3,830,000 | $ | 3,990,000 | |||
| Estimated costs to complete as of year-end | 6,020,000 | 4,160,000 | 0 | ||||||
In: Accounting
Required information [The following information applies to the questions displayed below.] In 2018, the Westgate Construction Company entered into a contract to construct a road for Santa Clara County for $10,000,000. The road was completed in 2020. Information related to the contract is as follows: 2018 2019 2020 Cost incurred during the year $ 2,490,000 $ 3,984,000 $ 2,008,600 Estimated costs to complete as of year-end 5,810,000 1,826,000 0 Billings during the year 2,030,000 4,444,000 3,526,000 Cash collections during the year 1,815,000 3,900,000 4,285,000 Westgate recognizes revenue over time according to percentage of completion. rev: 09_15_2017_QC_CS-99734 5. Calculate the amount of revenue and gross profit (loss) to be recognized in each of the three years assuming the following costs incurred and costs to complete information. (Do not round intermediate calculations and round your final answers to the nearest whole dollar amount. Loss amounts should be indicated with a minus sign.) 2018 2019 2020 Cost incurred during the year $ 2,490,000 $ 3,815,000 $ 3,945,000 Estimated costs to complete as of year-end 5,810,000 4,130,000 0 rev: 09_15_2017_QC_CS-99734 Next Visit question mapQuestion 5 of 8 Total 5 of 8 Prev
In: Accounting
I posted this question before too but answer was wrong can you please make sure the answer is right
Required information
[The following
information applies to the questions displayed
below.]
In 2018, the Westgate Construction Company entered into a contract
to construct a road for Santa Clara County for $10,000,000. The
road was completed in 2020. Information related to the contract is
as follows:
| 2018 | 2019 | 2020 | |||||||
| Cost incurred during the year | $ | 2,204,000 | $ | 3,192,000 | $ | 2,424,400 | |||
| Estimated costs to complete as of year-end | 5,396,000 | 2,204,000 | 0 | ||||||
| Billings during the year | 2,140,000 | 3,256,000 | 4,604,000 | ||||||
| Cash collections during the year | 1,870,000 | 3,200,000 | 4,930,000 | ||||||
Westgate recognizes revenue over time according to percentage of
completion.
rev: 09_15_2017_QC_CS-99734
4. Calculate the amount of revenue and gross profit (loss) to be recognized in each of the three years assuming the following costs incurred and costs to complete information. (Do not round intermediate calculations and round your final answers to the nearest whole dollar amount. Loss amounts should be indicated with a minus sign.)
| 2018 | 2019 | 2020 | |||||||
| Cost incurred during the year | $ | 2,204,000 | $ | 3,870,000 | $ | 3,270,000 | |||
| Estimated costs to complete as of year-end | 5,396,000 | 3,170,000 | 0 |
|
|||||
In: Accounting
Culver Furniture Company started construction of a combination office and warehouse building for its own use at an estimated cost of $6,000,000 on January 1, 2020. Culver expected to complete the building by December 31, 2020. Culver has the following debt obligations outstanding during the construction period.
| Construction loan-14% interest, payable semiannually, issued December 31, 2019 | $2,400,000 | |
| Short-term loan-12% interest, payable monthly, and principal payable at maturity on May 30, 2021 | 1,680,000 | |
| Long-term loan-13% interest, payable on January 1 of each year. Principal payable on January 1, 2024 | 1,200,000 |
1. Assume that Culver completed the office and warehouse building on December 31, 2020, as planned at a total cost of $6,240,000, and the weighted-average amount of accumulated expenditures was $4,320,000. Compute the avoidable interest on this project.
2. Compute the depreciation expense for the year ended December 31, 2021. Culver elected to depreciate the building on a straight-line basis and determined that the asset has a useful life of 30 years and a salvage value of $360,000.
In: Accounting
NashFurniture Company started construction of a combination office and warehouse building for its own use at an estimated cost of $4,500,000 on January 1, 2020. Nash expected to complete the building by December 31, 2020. Nash has the following debt obligations outstanding during the construction period.
| Construction loan-12% interest, payable semiannually, issued December 31, 2019 | $1,800,000 | |
| Short-term loan-10% interest, payable monthly, and principal payable at maturity on May 30, 2021 | 1,260,000 | |
| Long-term loan-11% interest, payable on January 1 of each year. Principal payable on January 1, 2024 | 900,000 |
(a)
Assume that Nash completed the office and warehouse building on December 31, 2020, as planned at a total cost of $4,680,000, and the weighted-average amount of accumulated expenditures was $3,240,000. Compute the avoidable interest on this project.
*Answer 366,000 is incorrect.
(b)
Compute the depreciation expense for the year ended December 31, 2021. Nash elected to depreciate the building on a straight-line basis and determined that the asset has a useful life of 30 years and a salvage value of $270,000.
In: Accounting
Lab Text Manipulation
Inside the main method, do the following:
The output depends on the information provided by the user.
Please enter your favorite National Park or DONE to stop: mesa
verde
Please enter your favorite National Park or DONE to stop: black
CANYON of ThE gunnisON
Please enter your favorite National Park or DONE to stop:
DENALI
Please enter your favorite National Park or DONE to stop:
yellowStone
Please enter your favorite National Park or DONE to stop:
Done
Favorite National Parks: Mesa Verde | Black Canyon Of The Gunnison
| Denali | Yellowstone
In: Computer Science