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

  Design a program that displays the acidity level

The decision structure part of the program is missing. It should display the correct solution from the right column of the table.

  Write a driver program to test class

Create a class called Rational for performing arithmetic with fractions. Write a driver program to test your class. Use integer variables to represent the private instance variables of the class-the numerator and the denominator.

  Make the class employee to initializes three data members

Make the class called Employee which comprises three pieces of information as data membersa first name (type string), last name (type string) and monthly salary (type int).

  Create the application to enter-search-edit information

You are neede to create the application to enter, search, edit and view personnel information of staff in company. This application is used by Human Resource, staff and administrator of application.

  Draw flowchart or write psuedocode to represent logic

Draw a flowchart or write psuedocode to represent the logic of a program that alllows the user to enter three values . The values rpesent hourly pay rate.

  Write a program that reads a number in feet

Write a program that reads a number in feet, converts it to meters, and displays the result. One foot is 0.305 meters.

  Explain joint application development

Explain JAD (Joint Application Development) and RAD (Rapid Application Development) in detail

  Write class to represent temperatures in degree and celsius

Write a Temperature class that represents temperatures in degrees in Celsius, Fahrenheit and Kelvin. Use a floating-point number for the temperature and a character (type char) for the scale.

  Explain the interaction framework

Explain the Interaction Framework discussed by Steven Heim (2008). Choose a computing device (like an ATM machine or the self-check-out at a grocery store

  Determine branch folding for unconditional branches

Determine the improvement from branch folding for unconditional branches. Assume a 90% hit rate, a base CPI without unconditional branch stalls of 1.

  What is an abstract method

What is an abstract class? What is an abstract method

  Create a multi-threaded competition

Create a multi-threaded competition in which opposing Robin Hoods will attack one another and try to take each other's gold coins.

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