[Solved] One Answered Exercise Yet Really Need Help Please Someone Help Problem Description Orange Q37214342
No one has answered this exercise yet I really need help pleasesomeone help me with this:
Problem Description: Orange Inc. is a popular electronicscompany which sells 5 different products: oComputer, oTablet,oCall, oStream, and oClock. Table 1 displays the information aboutthese products. In that table, the first column displays the nameof the product, the second column displays the per-unit price ofthe corresponding product, the third column represents the sales(number of units sold) of that particular product in the year 2018,and the fourth column represents the annual growth rate of sales.Thus, the unit price of the product oCall is 800; there were 580units sold in 2018 and the sales are expected to increase annuallyby 1.5%.
Product NamePer-Unit PriceSales in 2018Sales Growth rate (annual)oComputer16503002.75%oTablet5501705.5%oCall8005801.5%oStream1800503.1%oClock4501200.5%
Table 1: Information about Orange Inc. products
As a star Business Analyst at Oracle Inc., you are oftenconsulted for analyzing different business strategies. You have thefollowing task to perform: Task: Compute the revenue to Orange Inc.in the year 2018 from the above products. Next, using the annualgrowth rate for each product, compute the projected sales in theyear 2023. Assuming the per-unit price remains the same in all theyears, compute the projected revenue in the year 2023. Hint forTask: Create three arrays of appropriate data-type: (i)productPrice, (ii) productSales, and (iii) productRevenue. Youalready know the elements in productPrice and productSales. Using afor-loop, compute the revenue for each product and store it in theproductRevenue array. Sum the elements in productRevenue tocalculate total revenue. To calculate the revenue in 2023, you willfirst need to compute the projected sales of each product in 2023.Create a method ProjSales that takes three parameters as input: thebase sales, the growth rate, and the number of years. The methodthen returns the projected sales using the following formula:
= (1 + ( ℎ /100) )^
For example, if the sales in 2018 are 1000, the growth rate is10.5%, then the projected sales after 10 years is simply: 1000(1+10.5/100)^10. Use Math.pow(a, b) function to compute a^b. Once youcreate the method ProjSales, then you can compute the projectedsales for each product in the year 2023 and store it in a newarray, say productSales2023. Using the product prices from theproductPrice array, compute the projected revenue for the year2023.
Deliverables:
Your .java file including:
The total revenue in 2018 (as a comment on top of yourcode)
The projected revenue in 2023 (as a comment on top of yourcode)
Points:
1. Define arrays productPrice, productSales2018, growthRate,productRevenue2018. (1 points)
2. Define a loop that calculates productRevenue2018 andtotalRevenue2018. (2 points)
3. Display the total revenue in 2018. (0.5 points)
4. Define a method ProjSales that takes 3 inputs,productSales2018, growthRate, numberOfYears; calculates theprojected sales in 2023 within a loop, and returns an output,productSales2023. (3 points)
5. Define a variable productSales2023in the main method, andinvoke a method ProjSales that sets the values of productSales2023.(1 points)
6. Define a loop that calculates productRevenue2023 andtotalRevenue2023 (2 points)
7. Display the total projected revenue in 2023. (0.5 points)
Expert Answer
Answer to No one has answered this exercise yet I really need help please someone help me with this: Problem Description: Orange I… . . .
OR

