Ask Question, Ask an Expert

+61-413 786 465

info@mywordsolution.com

Ask Computer Engineering Expert

Write a C++ program using pointers that will create dynamically allocated array of monthly sales figures whose size has been input by the user. After prompting the user to input the sales figure, it will find the highest monthly sales amount and the lowest monthly sales amount. And it will calculate the average sales of the monthly figures.

The program should be modular with each major task being handled by its own function.

(PLEASE USE POINTERS.)

Sample run:

Please input the number of the monthly sales figures to be input: 4

Please input the sales for month 1: (some number)

Please input the sales for month 2: (some number)

Please input the sales for month 3: (some number)

Please input the sales for month 4: (some number)

The highest monthly sales amount was (highest sale)

The lowest monthly sales amount was (lowest sale)

The average sales amount for 4 sales figures is (average)

Computer Engineering, Engineering

  • Category:- Computer Engineering
  • Reference No.:- M91855751
  • Price:- $20

Priced at Now at $20, Verified Solution

Have any Question?


Related Questions in Computer Engineering

Tablet recommendationpreparation imagine the following

Tablet Recommendation: Preparation Imagine the following scenario: A hospital has hired you as a consultant to recommend a tablet for their employees to use, with these parameters: The hospital provides wifi access to th ...

System analysis project can you answer the 4 questions at

System Analysis project: can you answer the 4 questions at the task section. Personal Trainer, Inc. owns and operates fitness centers in a dozen Midwestern cities. The centers have done well, and the company is planning ...

1 write code in the method linearsearch in

1. Write code in the method linearSearch() in "SearchMethods"class which finds the element in an array using linear search approach and returns its index to the calling main method, otherwise it returns -1. 2. Write code ...

Question how is inventory management helpful in the scope

Question: How is inventory management helpful in the scope and structure of operations management? Note: Given paragraphs are for reference purpose. Structure and Scope of Operation There are three aspects of operations ...

1 potassium metal is very reactive with liquid bromine the

1. Potassium metal is very reactive with liquid bromine. The result of the reaction is the formation of a white ionic solid. Explain what happens to these elements when they form an ionic compound and write the formula f ...

Question suppose you want to manage a small project but you

Question : Suppose you want to manage a small project, but you don't have access to project management software. Could you use a spreadsheet or database program instead? How?

Please discuss the design principles that guide the authors

Please discuss the design principles that guide the authors of instruction sets in making the right balance. Provide examples of application of each of the three design principles while designing instruction sets.

Explain why a successful information security program is

Explain why a successful information security program is the shared responsibility of an organizations three communities of interest.

If there are 30 students total and 13 of them have blue

If there are 30 students total and 13 of them have blue socks and 17 have red socks. Randomly select a student from the class list. What is the probability of the student having red socks?

Question 1 identify all the dfd data flow diagram elements

Question: 1. Identify all the DFD (data flow diagram) elements (Shostack, 2014, p.531.). 2. Identify all threat types to each element(Shostack, 2014, p.531.). 3. Identify threats (three or more), one each for data flow, ...

  • 4,153,160 Questions Asked
  • 13,132 Experts
  • 2,558,936 Questions Answered

Ask Experts for help!!

Looking for Assignment Help?

Start excelling in your Courses, Get help with Assignment

Write us your full requirement for evaluation and you will receive response within 20 minutes turnaround time.

Ask Now Help with Problems, Get a Best Answer

Why might a bank avoid the use of interest rate swaps even

Why might a bank avoid the use of interest rate swaps, even when the institution is exposed to significant interest rate

Describe the difference between zero coupon bonds and

Describe the difference between zero coupon bonds and coupon bonds. Under what conditions will a coupon bond sell at a p

Compute the present value of an annuity of 880 per year

Compute the present value of an annuity of $ 880 per year for 16 years, given a discount rate of 6 percent per annum. As

Compute the present value of an 1150 payment made in ten

Compute the present value of an $1,150 payment made in ten years when the discount rate is 12 percent. (Do not round int

Compute the present value of an annuity of 699 per year

Compute the present value of an annuity of $ 699 per year for 19 years, given a discount rate of 6 percent per annum. As