Compute a customer''s charges and total bill

Assignment Help Computer Engineering
Reference no: EM1334885

The assignment is an assignment in which you, a software developer has won a contract to develop a program that will calculate a customer's charges and total bill at the gasoline pump, taking into account the following:

o The per-gallon price for gas is determined by whether the customer purchases leaded or unleaded gasoline.

o A federal gasoline tax is applied to each gallon of gas, varying by whether the gas is leaded or unleaded.

o If the customers pump the gas themselves, there are no additional charges apart from state sales tax. If the customers do not pump the gas themselves, one of the following two service charges apply:

· Gas-n-Go charge: If the customer asks for Gas-n-Go (the station pumps the gas for the customer but performs no other service), a fixed service charge is applied to the bill. The charge does not vary by the amount of gas purchased; the price remains the same whether the customer purchases a half gallon of gas or 10 gallons.

· Full-Service charge: If the customer asks for Full-Service (the station pumps the gas, checks the oil, checks the air pressure in the tires, and cleans the car windows), a fixed charge is applied to the bill. The charge does not vary by the amount of gas purchased; the price remains the same whether the customer purchases a half gallon of gas or 10 gallons.

o A state sales tax is applied to the sum of all charges except for the federal gasoline tax.

Reference no: EM1334885

Questions Cloud

Show the organization''s plan for recruitment sources : Decide what should be included in an organization's plan for recruitment sources and Judge what is the difference between proactive and reactive recruitment.
Explain the marketing process and the basic elements : Explain the marketing process and the basic elements of the marketing mix
Illustrate what factors have contributed to increased income : Illustrate what factors have contributed to increased income inequality an economy along with an equitable income distribution may be efficient as well.
Describe the difference between line authority : Describe the difference between line authority and staff authority and What type of authority do human resource managers have?
Compute a customer''s charges and total bill : The assignment is an assignment in that you, a software developer has won a contract to develop a program that will calculate a customer's charges and total bill at the gasoline pump, taking into account.
Explain name a product that failed due to the other p''s : Explain Name a product that failed due to the other P's of marketing - promotion, pricing or place
Comparative industry analysis : Identify an employer of choice (EOC) in each industry and Why is this employer recognized as an EOC - Include and integrate at least five recent and industry-relevant, peer-reviewed sources.
Illustrate what policy options are available to governmet : Illustrate what policy options are available to the government to counter the effect of a sharp fall in real estate values on the economy.
Policy against sexual harassment : Imagine yourself as a human resources professional who wants to alert top-level management to the importance of a policy against sexual harassment. What interpretation would your policy include?

Reviews

Write a Review

Computer Engineering Questions & Answers

  Express the service quality problem

discuss the service quality problems that can occur in VOIP. Why are these problems so difficult to solve.

  Internet offering gambling and drugs

Online gambling and purchase of the pharmaceutical drugs over Internet are quasi-legal activities which may only occur since the Internet enables the parties offering gambling and drugs access to those who wish to be customers.

  How to compare and contrast monitoring of patient vital sign

the Mobile computing has dramatically changed how information is accessed and shared. Wireless networking has been an enabler of mobile computing.

  New system implementation

In new system implementation, what could you do as the lead system designed to assure the implementation went smoothly?

  Design a function that computes a taxi fare

Write down a function that computes a taxi fare. In some cities, taxi fares are calculated based on start and end zones plus a per-minute charge. In this city, there are three zones (1, 2, and 3) and a graduated scale for time.

  Design a script that processes the data

The script calculates the number of weeks, days, and hours worked during the month, then shows the form data and the results of the calculations.

  Dtproperties and sysdiagrams

Exclude the tables “dtproperties” and “sysdiagrams”. List the column CountOfTable, in which the Table is the chosen table name.

  Create program that displays a student id number

Write a program that shows a student ID number and asks the user to enter a numeric test score for the student. Create a ScoreException class.

  Determining the sub game-perfect equilibrium

First Al shoots targeting one of the other two gangsters. After Al, if alive, Bob shoots, targeting one of the surviving gangsters.

  Briefly describe the concept of queues

Briefly describe the concept of queues.

  Write a recursive implementation of euclids algorithm

Write a recursive implementation of Euclids algorithm

  Determine the value of p and q in program

Write the output of the following program. #include using namespace std; int fun ( int*& p, int* q) { *p = 12;

Free Assignment Quote

Assured A++ Grade

Get guaranteed satisfaction & time on delivery in every assignment order you paid with us! We ensure premium quality solution document along with free turntin report!

All rights reserved! Copyrights ©2019-2020 ExpertsMind IT Educational Pvt Ltd