Calculate the running average for business customer spending

Assignment Help Programming Languages
Reference no: EM131324343

1. Write a pseudo code before starting your program ( do not use SWITCH, replace it with IF structures )

1.1 Draw a flowchart for your program based on your pseudo code

2. Identify your constants

3. Your input will come from a text file of at least 15 customers

3.1 Input file format - customerType accountNumber premiumChannels

( i.e residential example: R12345 5 , business example B12345 16 8 )

4. Precision should be two decimal places

5. Calculate the running average for residential and business customer spending

6. Print all customer's bill to a single file and the end of the file you should have the average summary for each customer type.

6.1 Pay attention to details when you formatting your output.

Reference no: EM131324343

Questions Cloud

Define the problem in the scenario that you have chosen : When faced with a problem, what do you do to solve it? This assignment asks you to apply a six-step to problem solving process to a specific problem scenario. You will write a paper that presents a synthesis of your ideas about solving the problem..
Book review - citizen coke : Book review in history book is "Citizen Coke" by Bartow J. Elmore. The purpose of the book review paper is to demonstrate your mastery of its material and offer the class background on the subject of your choice
Day history of urinary frequency : 28 year old female with 2 day history of urinary frequency, burning and pain upon urination, lower abdominal pain and vaginal discharge history of recurrent UTIs, chlamydia, gonorrhea x2 she has 3 children.
Compute the percentage total return-capital gains yield : Suppose a stock had an initial price of $86 per share, paid a dividend of $1.70 per share during the year, and had an ending share price of $72.50. Compute the percentage total return. Capital gains yield?
Calculate the running average for business customer spending : Calculate the running average for residential and business customer spending. Print all customer's bill to a single file and the end of the file you should have the average summary for each customer type.
Determine the price today of the option : The risk-free rate is 10 percent. Determine the price today of the option. Then construct a risk free hedge of long stock and short option.
What will be the operating income : What will be the operating income if 20,000 haircuts are performed? Show calculations to support your answer.
Find the value of the call : This call has two periods to go before expiring. Its stock pr=is 0.90. The stock pays a dividend at the end of the first period at the rate of 0.06. Find the value of the call.
Graph the total cost and average total cost : Is there a cost advantage to having only one music publisher print a given composition? Why?

Reviews

Write a Review

Programming Languages Questions & Answers

  Run-stack and activation record management

Though looking very efficient in terms of a quick jump to distant code why may it cause some efficiency problems during execution? Explain - Show (draw) the runtime-stack with AR(s) for the following. Include static and dynamic link information

  Design application to allow user to input a price

Design an application that allows a user to input a price until an appropriate sentinel value is entered.Output is the price of each item on each day,one through seven.

  The ideal hpc programming language

The Ideal HPC Programming Language.

  Determine the hidden cost if a recursive algorithm is

question 1 explain which one you should choose memoized-cut-rod or cut-rod. defend your decision by explaining the

  Write a program larger that reads two numbers

Write a program larger.s that reads two numbers from stdin, and prints the larger of the two numbers. The numbers can be positive, negative, or zero

  Determine the conditions in which datagrams are dropped

Use the attached client and server programs to make a test kit to determine the conditions in which datagrams are sometimes dropped.

  Draw the class diagram for your modi ed system

Explain what is wrong. Modify the system so that it conforms to the pattern. Explain each of the changes you made to the system. Draw the class diagram for your modi ed system.

  Write program that lets user enter charge account number

Write a program that lets the user enter a charge account number. The program should determine if the number is valid by checking for it in the following list.

  Create a program for telephone lookups

Create a program for telephone lookups. Your tasks are to allow the user find a number that is associated with a name and if given a number, find the name associated with it (normal and reverse lookups).

  Write a method named maxelement

Write a method named maxElement, which returns the largest value in an array that is passed as an argument. The method should use recursion to find the largest element. Demonstrate the method in a program.

  Rewrite the code using a select case block

Rewrite the code using a Select Case block and Determine the output displayed in the text box when the button is clicked

  Write unix shell script to check file in current directory

Write Unix shell script (one program) called Project1_lastname (your lastname). This script will do the following tasks: Using "if" statement checks for a file called "student.txt" in current directory.

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