Calculate and write same file total of yesterdays receipts

Assignment Help Electrical Engineering
Reference no: EM13268692

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: EM13268692

Questions Cloud

What is hoorus temperature : The robot HooRU is lost in space, floating around aimlessly, and radiates heat into the depths of the cosmos at the rate of 12.9 W. What is HooRU's temperature
What is the magnitude of the upper persons force : Two friends are carrying a crate of mass 200 kg up a flight of stairs. The crate has length 1.25 m and height 0.500 m, What is the magnitude of the upper person's force
What is the thickness of the hair : Two microscope slides are placed one on top the other. They are in contact at one end but a hair separates them at the other end. What is the thickness of the hair
How much voltage is assumed dropped across a forward bias : (1) If you have a transformer that is not in a circuit, how can you tell/determine what the ratio is (2) How do you tell if a diode is forward or bias. How much voltage is assumed dropped across a forward biased silicon diode. Reversed biased sili..
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.
What is the mass in grams of the cup : A 23 g ice cube at -4.6 oC is place in an aluminum cup whose initial temperature is 80.56 oC. What is the mass in grams of the cup
Calculate the phase impedance of the transformer in per unit : A 50-KVA, 13,800/208 V ?-Y distribution transformer has an equivalent phase impedance 114.2+j800 ohm referred to the high voltage side. Take the rated voltage as the base voltage and the rated VA as the based voltampere value.
Determine the angular size of the moon : the moon has an angular size of .5degrees when viewed with unaided vision from earth. what is the angular size of the moon as seen through this telescope
Draw appropriate control scheme using simplified isa symbols : Wastewater leaving the ACME cheese factory must be neutralized to a pH between 6.8 and 7.2. Citric acid is available to decrease pH and sodium hydroxide is used to increase pH.

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