answersLogoWhite

0


Best Answer

First you need to work out the average sales value. For that you need to know the sale price of each of the 25 products and the total number of each product sold. Multiply the sale value by the number sold, then add all 25 totals together. Divide the total value of the sales by the total number of sales to get the average sales value.

From that you can determine which of the 25 product lines have a selling price greater than the average selling price. Then simply add the total number of sales from each of those product lines.

For a simplified example, consider the following five products:

Product #1 #2 #3 #4 #5

Selling price $1.00 $2.00 $1.50 $3.00 $2.50

Quantity sold 50 40 10 1 4

Total $50.00 $80.00 $15.00 $3.00 $10.00

From this we can see the total sales value was $50 + $80 + $15 + $3 + $10 which is £158.00. The quantity total is 50 + 40 + 10 + 1 + 4 which is 105. So the average sales value is $158 / 105 = $1.50

The products with a sales value greater than $1.50 are #2, #4 and #5, with sales of 40, 1 and 4 respectively. Therefore there were 40 + 1 + 4 = 45 sales above the average sales value.

User Avatar

Wiki User

9y ago
This answer is:
User Avatar

Add your answer:

Earn +20 pts
Q: What if your company sells twenty five different products you've been ask to write a pseudo code that will display the no of products whose sales are above the average sales value?
Write your answer...
Submit
Still have questions?
magnify glass
imp
Related questions

What products do Claridge provide?

Claridge provides all kinds of visual display products. They include display cases, tack boards, and marker boards. The company also makes custom display materials upon request.


What company's logo top manufacturers eagerly display on their high end products?

Intel


What products are offered by the Display Design company?

Display Design offers many different styles of banner displays for advertising purposes. Ranging a number of various sizes to capture the graphic that they design for you, in order to meet your advertising needs.


Who is legally permitted to display the DVD logo on its products?

The company or individuals that are legally permitted to display DVD logo's and products are the people that own the rights by development or ownership of the product combined with the logo.


What does The Christmas Heirloom company specialize in?

The Christmas Heirloom company specializes in retail corporate display and wholesale of Christmas decorations and artificial trees. You can get more information about this company and their products at the Christmas Heirloom website.


What does representing a brand mean in retail?

It basically means, how are you going to display the particular brand's (company) products and promotions such as signs and isle placement.


What sorts of products are offered for sale by the FDJ Tool company?

FDJ Tool company is a company that sells jewelry tools, jewelry making supplies, jewelry display, and many more. Their tools are excellent as they have great services.


What is a display used for?

The display used for exhibition your products .It show your goods more noble and elegant, with promoting your added value of products and increasing sales amount.Generally ,the revolving display and revolving light box let your products high-profile in supermarket , multiple shop and franchise house.some display can print the logo .some manufacture can produce the OEM order .some manufacture of display can do as your drawing or give you a display design for your products .They give you the best service and modify the products drawing until you satisfied with it .


What products are offered by BabyFirst that work on a TV?

The BabyFirst website has many different offers for their products that work on televisions. They provide their services to channel 293 and 823, and display a list of shows that will appear.


In what products does the company xibit deal in?

The company that is called Xzibit Solutions is in the business of marketing and trade show exhibits. This Canadian company was launched in 2006 and has provided display marketing for companies such as Bell Canada, Air Canada and the Royal Bank of Canada.


Why do manufacturers always display the nutrient content per 100g?

Displaying the nutrient content in this way makes it easier to compare different foods or products.


How much are display cases?

Display cases vary in price. Certain stores, such as Sturdy Store Displays, sell different types of display cases including glass showcases, jewelry display cases, and retail display cases. Different display cases will be different prices.