Questions
Write a program that prompts the user for their first and lastname. Display the first...

  1. 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.

  2. Ask the user to input a phone number.

  3. The program checks which part of Colorado a phone number is from using the values below.

  4. 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.

  5. 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...

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

For years beginning January 1,2018, the city of Arbor Hills finances its park and recreation activities...

For years beginning January 1,2018, the city of Arbor Hills finances its park and recreation activities with a special property tax levy. Accordingly, it will account for resources related to parks and recreation in a special revenue fund. During 2018, it engaged in the following transactions:
1) the fund received $6million from the city special park and recreation property tax levy
2) the employee earned $0.17 million in sick leave but were paid for only $0.14 million. The leave accumulates but does not vest.
3) During 2018, the city ordered $0.80million in parks and recreation supplies. Of this amount,it received $0.70million, used $0.55million, and paid for $0.5million. The city uses the purchases mathod to account for supplies inventory.
4) In January 2018, the city purchased $1million in parks and recreation equipment. It paid. $0.20million in cash and gave an installment note for the balance. The first payment on the note ($0.30 million plus interest of $0.05million)is due on January 12,2019

Required:
A) Prepare a statement of revenue,expenditure and change in fund balance and. Balance sheet for the park and recreation fund as a December 31,2018
B) indicate any assets,liability that would be reported in the city’s schedule of capital assets, or long term obligation as a consequence of the transactions engaged in by the park and recreation fund

In: Accounting

Show all work. Use a MARR of 2% ! The cost projections for two alternatives for...

Show all work. Use a MARR of 2% !

  1. The cost projections for two alternatives for a proposed bridge are provided below. Which alternative would you recommend in order to minimize cost? (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...

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...

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...

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...

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...

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: Create an ArrayList of strings and...

Lab Text Manipulation

Inside the main method, do the following:

  • Create an ArrayList of strings and call it parks.
  • Read in the names of national parks from the user until the user enters done(or DONE,
    or dOnE, .. ) Keep in mind, that the names of some national parks consist of more than one word, for example, Mesa Verde.
    As you read in the national parks, add them to the list.
  • Next, we are going to build a string based on the elements in the list parks. Since the text keeps changing as we add one park at a time, we use class StringBuilder for this task.
    • Use a StringBuilder called sb to create the string  nationalParks .
    • Loop through all the elements of the list  parks and add them one at a time.
      The resulting string should have the following format:
      Favorite National Parks: {park1} | {park2} | . . . | {parkN}
      The parks are separated by a space, a vertical bar, and another space. However, there is no vertical bar after the last element. {park1}, {park2}, {parkN} are the various list elements with updated spelling.
    • Create a private method to update the spelling.
      We can't control whether the user enters the park names in uppercase or lowercase letters. However, we can change the names to a spelling where all letters are lowercase except for the first letters of each individual word. In order to make those changes, create a private method called updateSpelling. It has the following method header:
      private static String updateSpelling(String text)
      E.g.: When you pass the string "MESA VERDE" the method returns "Mesa Verde"
      E.g.: When you pass "yEllOwstOnE" it returns "Yellowstone"
      E.g.: Passing "black canyon of the gunnison" returns "Black Canyon Of The Gunnison"
      E.g.: Passing "Denali" returns "Denali"
    • When you are done building the specified string in SringBuilder, print it.

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