Calculate and write same file total of yesterdays receipts

Assignment Help Electrical Engineering
Reference no: EM13252813

A parking garage charges a $ 5.00 minimum fee to park for up to three hours and an additional $ 1.00 per hour for each hour over the hours. the maximum charge for any given 24 hours period is $ 2.00.

Write a program that will caluclate and print the parking charges for each of five customers who parked their cars in the garage yesterday.

Your employer will enter the hours paked for each customer and your program should be:

Write to a file the results in a tabular format
Calculate and write the same file total of yesterday's receipts.
Your program should use the function "CaluclateCharges" to determine the cahrge for each customet.
Your writing file should appear in the following format:

Cars Hours Charges
1 2.0 5.00
2 1.5 5.00
3 7.0 9.00
4 24.0 20.00
5 19.00 20.00

Total 53.5 59.00

Reference no: EM13252813

Questions Cloud

Find real and reactive power supplied to the 360-v winding : 1-phase 2-winding transformer is rated 30 kVA, 360/90 V, 60 Hz. A source connected to the 360-V winding supplies an impedance load connected to the 120-V winding. The load absorbs 15 kVA at 0.8 p.f.
Calculate the speeders speed with respect to the ground : A speeder is pulling directly away and increasing his distance from a police car that is moving at 23.0 m/s with respect to the ground. Calculate the speeder's speed with respect to the ground.
Environment is component of international business : The legal environment is a component of  international business. What types of laws regulate international corporations? How do the differences in laws and regulations in different countries affect international corporations? Provide some examples.
Determine two possible corporate governance challenges : determine two possible corporate governance challenges that might be faced by Best Buy as a result of its rapid growth and why they could become corporate governance issues.
Calculate and write same file total of yesterdays receipts : A parking garage charges a $ 5.00 minimum fee to park for up to three hours and an additional $ 1.00 per hour for each hour over the hours. the maximum charge for any given 24 hours period is $ 2.00.
Primary types of political risks : Firms operating in some countries are exposed to political risks.  What are the primary types of political risks? Explain each of them, and provide some examples.
Professional presentations : Team Reading: Professional Presentations
Determine a maximum possible radius of the nucleus : In Rutherford scattering of alpha particles from a thin gold foil, determine a maximum possible radius of the nucleus
Explain which would be considered ionic bonds : Of the following compounds, which would be considered ionic bonds and which would be considered covalent bonds, and why

Reviews

Write a Review

Electrical Engineering Questions & Answers

  Lithium ion battery technology

The paper includes Lithium ion battery technology with its advantages and disadvantages. The paper discusses about the Lithium air battery in which detailed reactions of Lithium with air including nonaqueous as well as aqueous are given.

  Power transformers and tariffs

Construction of different types of power transformer, significant energy savings

  Paper on orthogonal frequency-division multiplexing

This document is shown a paper on Orthogonal frequency-division multiplexing with advantages, disadvantages and uses.

  Function of the hmi in a scada system

This assignment contains electronics engineering questions like State the commonly found components of a SCADA (Supervisory control and data acquisition) system. and decribe the function of the HMI in a SCADA system.

  Resultant waveform of the odd harmonic series

Prepare an Excel graph showing the individual components and summated resultant waveform of the odd harmonic series resulting in an approximate square wave.

  Explain scada system

Explain the function of the HMI in a SCADA system.

  Design a 2-digit 24 second shot-clock

Design a 2-digit 24 second "shot-clock" countdown timer with pushbutton controller.

  Model a discrete-time system

To understand di erent signal models To be able to model a discrete-time system and design simple signal processing algorithms.

  Draw a relay construction diagram

Draw a relay construction diagram and briefly explain the operation of a relay.

  Frequency division multiplexing

Write a short technical report on Frequency Division Multiplexing

  Impact of electron energy

Briefly discuss the impact of electron energy, electron current and target on the Bremsstrahlung generated.

  Traffic light controller

The schematic of the traffic light controller

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