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

  Develop pseudo-code for program to retrieve bytes

Develop the pseudo-code for a program that will retrieve 2 bytes (NUM1 and NUM2) from memory, determine which is closest to the numeric value 50.

  Application to inputs five numbers given between a range

Write an application that inputs five numbers, each between 10 and 100, inclusive. As each number is read, display it only if it's not a duplicate of a number already read.

  Assess the key practices and improvement activities from

suppose you are working as a senior software development manager in a software house. the company develops custom

  Design a flowchart that is also a fully functional program

Using Visual Logic, design a flowchart that is also a fully functional program. According to your design, the program must: Continually accept data regarding the purchase of fruit until a sentinel value is entered.

  Sql query that uses union of the two tables

Write a SQL query that uses UNION of the two tables to produce a combined result set.

  Implement a base class appointment and derived classes

Implement a base class Appointment and derived classes Onetime, Daily, Weekly, and Monthly. An appointment has a description (for example, "see the dentist") and a date and time.

  Program to print a business travel expenses

Write a program to print a business travel expenses attachment for an income tax return.

  What is inheritance and why would we want to use it

What is inheritance and why would we want to use it? When using inheritance, does a subclass inherit both variables and methods of the super class? Justify your answer to part b)

  Write program to take as input salesperson-s expected sales

Write program to take as input the salesperson's expected weekly sales and outputs the wages paid under each plan as well as announcing the best-paying plan.

  Create program that uses array of shape

Create a program that uses an array of Shape references to objects of each concrete class in the hierarchy. The program should print a text description of the object to which each array elements

  Write liberty basic to make payment of current balance

Makes a payment equal to 5 percent of current balance suppose the customer makes no new purchases. Must be written in Liberty Basic.

  Explain the purpose of the attributes

Imagine you are a part of a team that is tasked with writing a mobile app that will allow users to store information for all of their contacts (e.g., friends, family, etc.). Identify at least two (2) attributes of the object contact in this applic..

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