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

  Write a haskell program to calculates a balanced partition

Write a program in Haskell which calculates a balanced partition of N items where each item has a value between 0 and K such that the difference b/w the sum of the values of first partition,

  Create an application to run in the amazon ec2 service

In this project you will create an application to run in the Amazon EC2 service and you will also create a client that can run on local machine and access your application.

  Explain the process to develop a web page locally

Explain the process to develop a Web page locally

  Write functions

These 14 questions covers java class, Array, link list , generic class.

  Programming assignment

If the user wants to read the input from a file, then the output will also go into a different file . If the user wants to read the input interactively, then the output will go to the screen .

  Write a prolog program using swi proglog

Write a Prolog program using swi proglog

  Create a custom application using eclipse

Create a custom Application Using Eclipse Android Development

  Create a application using the mvc architecture

create a application using the MVC architecture. No scripting elements are allowed in JSP pages.

  Develops bespoke solutions for the rubber industry

Develops bespoke solutions for the rubber industry

  Design a program that models the worms behavior

Design a program that models the worm's behavior.

  Writing a class

Build a class for a type called Fraction

  Design a program that assigns seats on an airplane

Write a program that allows an instructor to keep a grade book and also design and implement a program that assigns seats on an airplane.

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