Questions
use c++ Parking charge application: A parking garage charges a $20.00 minimum fee to park for...

use c++

Parking charge application: A parking garage charges a $20.00 minimum fee to park for up to 3 hours. The garage charges an additional $5.00 per hour for hour or part thereof in excess of 3 hours. The maximum charge for any given 24-hour period is $50.00. Assume that no car parks for longer than 24 hours at a time. Write a program that calculates and prints the parking charge for each of 3 customers who parked their cars in this garage yesterday. You should enter the hours parked for each customer. Your program should save the result in a array of Customer. The class customer is the following:

class customer{ string plate; float hour; float fee; }

Your program should use the function calculateCharges to determine the fee for each customer. You should print the result for the 3 customers in the following format:

Plate Hours Charge

132AAC 1.5 20.00

236URT 4.0 25.00

390ROP 24.0 50.00

TOTAL 29.5 95.00

In doing this question make sure to keep the array of customer as global variable.

In: Computer Science

1. There is a public debate as to why a passenger tests NEGATIVE with self-testing qualitative...

1. There is a public debate as to why a passenger tests NEGATIVE with self-testing qualitative immunochromatography assay kit (cassette in) in a hotel room but tests POSITIVE with an Immunotechnique Assay called Immunofluorescence Assay (IFA) in an accredited laboratory upon arrival at the John F. Kennedy International Airport. You’ve been asked to educate the National Health Service and the general public
a. Mention 5 factors that could validate the POSITIVE test results from the laboratory
b. Explain the principle behind both test assays.
c. Mention 3 practical precautions for RDT self-testing

In: Biology

Alex, Brian and Chris are equal partners in the ABC partnership.ABC owns a restaurant in...

Alex, Brian and Chris are equal partners in the ABC partnership. ABC owns a restaurant in Mineola and a retail music store in Asbury Park. It has $300,000 of loss from the restaurant and a $120,000 loss from the music store. Alex materially participates in the restaurant but has little to do with the music store. The partnership also earns $21,000 of interest during the year.   Alex has $5,000 of passive income from his other activities. How much income or loss does Alex have from ABC, and how much of the loss can he deduct?

In: Accounting

The city of Seattle sells an average of 30,000 hotel rooms per night. Currently, those rooms...

The city of Seattle sells an average of 30,000 hotel rooms per night. Currently, those rooms have an average tax of $90. The city proposed an additional tax of $10 per room to help finance a stadium. Economists believe that without the tax, the city would average an extra 4000 rooms per night due to the new stadium. But with the tax, the number of rooms sold would fall to 27,000 even with the stadium. Based on these numbers, would it be smarter for the city to charge the proposed tax, or to use tax incremental financing to pay for the stadium?

In: Economics

. Root depth for grasses and shrubs in a type of soil known as glacial outwash...

. Root depth for grasses and shrubs in a type of soil known as glacial outwash was studied in Yellowstone National Park. It was found that the root depth in this type of soil is a normally distributed random variable with standard deviation 8.94 inches. (a) In a proposed study region of glacial outwash, how many plants should be carefully dug up and studied to be 90% sure that the sample mean root depth is within 0.5 inches of the population root depth? (b) How many to be 90% sure that it is within 0.25 inches? (Is there any obvious relationship to the answer of part (a)?

In: Statistics and Probability

Dizzy Inc. is the only operator of themed amusement parks (DizzyWorld). Dizzy’s production function (which, oddly,...

Dizzy Inc. is the only operator of themed amusement parks (DizzyWorld). Dizzy’s production function (which, oddly, relies only on labor) is given by:

Q = 60L^0.5

Dizzy pays its workers w = $12. Consumer demand for admission to DizzyWorld is given by: QD = 24,000 – 200P

1a) Find Dizzy Inc’s profit-maximizing quantity (number of theme park admissions)

1b)  Find what price Dizzy will charge to attain this level of demand?

1c)  Compare (using SPECIFIC NUMBERS) the Monopoly P and Q with the outcomes form a perfectly competitive market

In: Economics

True or false: 1) If a nation is selling more goods and services to foreigners than...

True or false:

1) If a nation is selling more goods and services to foreigners than it is buying from them, then on net it must be selling assets abroad.

2) It is possible for a country to have domestic investment that exceeds national saving.

3) If a country’s trade surplus falls, its net capital outflow rises.

4) If the exchange rate is 80 yen per dollar, then a hotel room in Tokyo that costs 25,000 yen costs $200.

5) Other things the same, an increase in the nominal exchange rate raises the real exchange rate.

In: Economics

As a field representative for your company, you are accustomed to traveling and working from hotels...

As a field representative for your company, you are accustomed to traveling and working from hotels on the road. You always stay in a hotel with free WiFi so that you work and check your email, as well as Skype with your family.

What are the risks of using a public WiFi?

Short of finding a more secure network, what could you do to use this wireless network in a more secure fashion?

What options do you have if you are traveling for personal reasons and not as an employee?

Make sure you collect this information in a single Microsoft Document

In: Computer Science

Business law: Eminent domain is the constitutional principle that the government can take private property from...

Business law:

Eminent domain is the constitutional principle that the government can take private property from an owner for a public purpose with fair compensation. Examples would be to build an airport, a park, or a highway. One controversial Supreme Court case allowed a city government to transfer ownership from one set of owners to a private corporation for a new headquarters building. The city said it was for "urban renewal" and would bring in more money for the city. Share your thoughts about whether this is a fair public use or if that transfer or ownership should not have been allowed.

In: Accounting

The owner of a hotel borrowed $13 000 at 7.8% compounded semi-annually and agreed to repay...

  1. The owner of a hotel borrowed $13 000 at 7.8% compounded semi-annually and agreed to repay the loan by making payments of $750 at the end of every 4 months.
    1. How much payments will be needed to repay the loan?
    2. How much will be owed at the end of 5 years?
    3. By the end of 5 years of payments, what is the total interest payed?
  1. A contract valued at $28 000 requires payments of $6500 every 6 months. The first payment is due in 5 years and interest is 12% compounded semi-annually.
    1. How many payments are required?
    2. What is the size of the last payment?

In: Finance