Questions
I have to write a c program for shipping calculator. anything that ships over 1000 miles,...

I have to write a c program for shipping calculator. anything that ships over 1000 miles, there is an extra 10.00 charge. I have tried everything. no matter what I put, it will not add the 10.00. please help here is my code

#include <stdio.h>
#include <stdlib.h>

int main()
{
double weight, miles, rate, total;

printf("Enter the weight of the package:");
scanf("%lf", &weight);

if (weight > 50.0) {
puts("we only ship packages of 50 pounds or less.");
return 0;

}
if ( miles > 1000 ){
total = rate + 10.00;
printf("rate is $%.2lf \n", rate);

}
printf("Enter the amount of miles it would take:");
scanf("%lf", &miles);

if (weight <= 10.0)
rate = 3.00;

else
rate = 5.00;


printf("Shipping charge is $%.2lf \n", (int)((miles + 499.0) / 500.0) * rate);
if (miles >= 1000){
("shipping charge + 10.00");
}
system("pause");
}

In: Computer Science

Consider the assumptions that framed the analysis. Removing a hotel from the secondary competition and add...

Consider the assumptions that framed the analysis. Removing a hotel from the secondary competition and add it to the primary competition. What effect does taking out a Hotel from secondary competition has on the overall analysis? On Demand Base , changes in overall penetrations, changes in the market segment penetrations for the individual hotels, market segment mix for the entire market, and demand.

In: Operations Management

Park Corporation is planning to issue bonds with a face value of $3,500,000 and a coupon...

Park Corporation is planning to issue bonds with a face value of $3,500,000 and a coupon rate of 10 percent. The bonds mature in 10 years and pay interest semiannually every June 30 and December 31. All of the bonds were sold on January 1 of this year. Park uses the effective-interest amortization method and also uses a premium account. Assume an annual market rate of interest of 8.5 percent.

1. Prepare the journal entry to record the issuance of the bonds.

2. Prepare the journal entry to record the interest payment on June 30 of this year.

3. How will Park present its bonds on its June 30 balance sheet?

In: Accounting

Hospitality and Tourism Management Subject: A big business-oriented hotel has 505 rooms. Five of those rooms...

Hospitality and Tourism Management Subject:

A big business-oriented hotel has 505 rooms. Five of those rooms had an issue with a leaking bathroom. On Tuesday night, 440 rooms were occupied (sold). On Friday night, 240 rooms were occupied (sold).

The hotel's room revenue (sales) for Thursday was $90 200. The room revenue (sales) for Friday was $38 400

- What was the Occupancy percent, the ADR and the RevPar for Thursday and Friday?

- What do the numbers for Occupancy, ADR, and RevPar for the two days tell you - please comment on each number and explain what "conclusions" you would make if you are the general manager of the hotel.

- Which characteristic of the lodging industry is "causing" the different occupancy for Thursday and Friday night? Please explain briefly. What can a hotel manager do to address this issue?

- What are some specific services and amenities this segment (business traveler) would be interested in when staying in the hotel? Please list and explain at least 4.

In: Accounting

Financial controller of the Mondavi Hotel has the following information about estimated sales revenue and operating...

Financial controller of the Mondavi Hotel has the following information about estimated sales revenue and operating expenses for September, October and November.

                                   

September

October

November

Sales

820,000

845,000

880,000

Operating Expenses

295,000

310,000

330,000

The controller knows that cash sales are 30% of total sales and remaining sales are on credit. For the collection of credit sales, 50% are collected in the month of sales while the remaining 50% is collected in the following month. Mondavi Hotel pays 60% of the operating expenses in cash in the month they incur and remaining 40% is paid in the following month. In addition to this information, the controller is informed that:

  • In October, Mondavi Hotel will replace the range in the main kitchen, which will cost $14,000 and will be paid in cash immediately.
  • Each month, $20,000 will paid to a national bank to reduce an outstanding long-term debt.

Mondavi Hotel uses cash receipts and disbursement method for cash budgets.

Given the information:

If the beginning cash balance for October is $150,000, what would be the ending balance in October?

In: Accounting

using c++ You have been contracted to build a hotel reservation system. This is the system...

using c++ You have been contracted to build a hotel reservation system. This is the system that hotel desk clerks will use to take desk reservations.

Assumptions: This is acting as though the only reservations taken are at the desk. All reservations are for one night. The hotel is empty when you start the program.

First, this program will give the full inventory of rooms in the hotel.

Total rooms: 122

There are four types of rooms with these prices:

  • Standard Rooms, Courtyard - 70 - $125 a night
  • Standard Room, Scenic - 35 - $145 a night
  • Deluxe Suite - 15 - $350 a night
  • Penthouse - 2 - $1135 a nigh

    Second, the program will allow for a room to be reserved for one night. The program will keep track of the inventory as rooms are being reserved.

    Third, the program will keep track of revenue brought in for the day from reserved rooms.

    Fourth, the user can choose a getTotal() function that will display remaining room inventory, what was reserved and revenue generated for the day.

  • PLEASE NOTE: This project must incorporate a class friend or class inheritance structure.

In: Computer Science

1)Lexical heads are typically Select one: a. closed class lexical items b. phonologically null c. no...

1)Lexical heads are typically

Select one:

a. closed class lexical items

b. phonologically null

c. no class lexical items

d. open class lexical items

2)The subject of the sentence `the woman with a big dog on a flimsy leash in the public park behind my house saw a horse' is:

Select one:

a. the woman with a big dog

b. the woman

c. the woman with a big dog on a flimsy leash in the public park behind my house

d. the woman with a big dog on a flimsy leash in the public park

3)How many PPs are there in the sentence `the woman with a big dog on a flimsy leash in the public park behind my house saw a horse'?

Select one:

a. 3

b. 4

c. 2

d. 1

4)Which sequences of words can we perform 'it-substitution' on in the following sentence: `the proposal of Trump is very stupid'?

Select one:

a. proposal of

b. the proposal of Trump

c. Trump is

d. the proposal

In: Psychology

QUESTION 1 In order to determine the average price of hotel rooms in Atlanta, a sample...

QUESTION 1

  1. In order to determine the average price of hotel rooms in Atlanta, a sample of 38 hotels were selected. It was determined that the average price of the rooms in the sample was $109.3. The population standard deviation is known to be $18. We would like to test whether or not the average room price is significantly different from $110.

    Compute the test statistic.

QUESTION 2

  1. In order to determine the average price of hotel rooms in Atlanta, a sample of 39 hotels were selected. It was determined that the test statistic (z) was $-1.99. We would like to test whether or not the average room price is significantly different from $110. Population standard deviation is known to us.

    Compute the p-value.

QUESTION 3

  1. In order to determine the average price of hotel rooms in Atlanta. Using a 0.1 level of significance, we would like to test whether or not the average room price is significantly different from $110. The population standard deviation is known to be $16. A sample of 64 hotels was selected. The test statistic (z) is calculated and it is -1.38.

    We conclude that the average price of hotel rooms in Atlanta is NOT significantly different from $110. (Enter 1 if the conclusion is correct. Enter 0 if the conclusion is wrong.)

QUESTION 4

  1. In order to determine the average price of hotel rooms in Atlanta. Using a 0.1 level of significance, we would like to test whether or not the average room price is significantly different from $110. The population standard deviation is known to be $16. A sample of 64 hotels was selected. The p-value associated with the test statistic (z) is calculated and it is 0.03.

    We conclude that the average price of hotel rooms in Atlanta is NOT significantly different from $110. (Enter 1 if the conclusion is correct. Enter 0 if the conclusion is wrong.)

In: Advanced Math

Mohanned decided to start a water theme park in Barka , Oman . He prepared a...

Mohanned decided to start a water theme park in Barka , Oman . He prepared a business plan and submitted it to Bank Muscat to take loan of OMR 5000000 . He submitted documents of his 5 villas to get the loan from bank . After the bank issued loan Mohanned went to Oman chamber of commerce and industry and requested his new theme park named as Ross Island to be legally registered . After checking the documents the ministry registered the theme park as Ross Island LLC . Mohanned had partners who invested in this new business who were shareholders . The tourists who came to his place and the citizens who came to the Ross Island kept increasing . The entry tickets pricing was affordable many visitors came to his park . So Mohanned started Ross Island also in Salalah .

1 ) Is Mohanned an entrepreneur or Intrapreneur ? Define entrepreneur and intrapreneur .

2 ) Mohanned requested OMR 5000000 loan from Bank Muscat . What is this request called in Business Plan ? Define it .

3 ) Write the management team of Ross Island in your own words in two sentences .

4 ) Write the executive summary for Ross Island theme park in your own words in two sentences .

5 ) Write the company description of Ross Island in your own words in two sentences .

6 ) What are the advantages and disadvantages of starting this theme park ?

7 ) Mohanned decides to start one more Ross Island in Salalah . Is this called Market expansion ? Explain it .

8 ) He registered Ross Island as LLC . Define LLC .

9 ) Mohanned submitted documents of his 5 villas . What are these documents called ?

10 ) Do you think that this business will be successful ?

In: Accounting

Jason Hope opened a hotel. Prepare journal entries and post to the appropriate T-accounts to record...

Jason Hope opened a hotel. Prepare journal entries and post to the appropriate T-accounts to record the following transactions. Compute the balance as of June 30 for each T-account Hope uses the accounts Room Rental Revenue and Event Revenue. All expenses for special events are recorded as Event Expense.

June 1 Hope invested $400,000 cash into the business

June 2 Hope purchased a hotel building for $800,000 and land for $100,000. Hope paid $250,000 in cash and signed note payable for $650,000.

June 3 Paid $6,000 for a six month insurance policy on the hotel.

June 5 Purchased supplies costing $4,000 on account.

June 10 Received advance payments of $12,000 from customers that will be staying at the hotel in July. Payments will be refunded if the customer cancels within 7 days of their scheduled arrival time.

June 14: Received cash payments of $13,000 from current customers staying at the hotel in June.

June 15 Paid $2,000 cash for staff salaries. June 16 Paid $500 for maintenance expense.

June 17: Received $10,000 payment for a wedding reception hosted that day.

June 18 Paid $2,500 for catering expenses.

June 18 Paid event expenses of $1,000 for table and chair rentals.

June 19 Paid event expenses of $2,000 for flowers.

June 24 Paid for the supplies purchased on June 5.

June 25 Recorded an additional $5,000 cash received from current hotel customers for June.

June 30 Paid $2,000 cash for staff salaries.

June 30 The owner withdrew $4,000 for personal use.

In: Accounting