Explore BrainMass
Share

Explore BrainMass

    Software Development Project Pseudocode

    This content was COPIED from BrainMass.com - View the original, and get the already-completed solution here!

    I would like some help in this assignment, just so I can get an idea as to what approach I should take in completing this; Thanks.

    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
    hide problem

    © BrainMass Inc. brainmass.com October 10, 2019, 12:25 am ad1c9bdddf
    https://brainmass.com/computer-science/pseudocode/software-development-project-pseudocode-291384

    Solution Summary

    This posting contains answers to the given questions.

    $2.19