Project 4: Orange Inc. Problem Description: Orange Inc. is a popular electronics company which sells

 
   

Need your ASSIGNMENT done? Use our paper writing service to score better and meet your deadlines.  

Project 4: Orange Inc. Problem Description: Orange Inc. is a popular electronics company which sells 5different products: oMac, oPad, oPhone, oTv, and oWatch. Table 1displays the information about these products. In that table, thefirst column displays the name of the product, the second columndisplays the per-unit price of the corresponding product, the thirdcolumn represents the sales (number of units sold) of thatparticular product in the year 2018, and the fourth columnrepresents the annual growth rate of sales. Thus, the unit price ofthe product oPhone is 900; there were 180 units sold in 2018 andthe sales are expected to increase annually by 1%. Product name Per-unit price Sales in 2018 Sales growth rate(annual) oMac 1300 100 2.25% oPad 350 150 3.5% oPhone 900 180 1% oTv 3000 120 4.2% oWatch 250 50 0.5% Table 1: Information about Orange Inc. products As a star Business Analyst at Orange Inc., you are oftenconsulted for analyzing different business strategies. You have thefollowing two tasks to perform: Task 1: You have to compute the revenue toOrange Inc. in the year 2018 from the above products. Next, usingthe annual growth rate for each product, compute the projectedsales in the year 2025. Assuming the per-unit price remains thesame in all the years, compute the projected revenue in the year2025. Hint for Task 1: Create three arrays ofappropriate data-type: (i) productPrice, (ii) productSales, and(iii) productRevenue. You already know the elements in productPriceand productSales. Using a for-loop, compute the revenue for eachproduct and store it in the productRevenue array. Sum the elementsin productRevenue to calculate total revenue. To calculate the revenue in 2025, you will first need to computethe projected sales of each product in 2025. Create a methodProjSales that takes three parameters as input: the base sales, theprojected rate, and the number of years. The method then returnsthe 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 you create the method ProjSales, then you can compute theprojected sales for each product in the year 2025 and store it in anew array, say productSales2025. Using the product prices from theproductPrice array, compute the projected revenue for the year2025. Task 2: Your manager notices that oWatch is notan attractive product as the per-unit price is low, and the salesgrowth rate is not that attractive either. She is thinking to dropthe product oWatch with immediate effect; that is, no oWatch willbe sold from 2019 onwards. You are required to compute the revisedprojected revenue in the year 2025, assuming that no oWatch is sold2019 onwards. Hint for Task 2: Follow the same procedure asin Task 1, except that now you do not need to compute the projectedsales for the fifth element (oWatch) in your array. Deliverables: Your .java file including:  The projected revenue in 2025 as computed in task 1 (as acomment on top of your code)  The projected revenue in 2025 as computed in task 2 (as acomment on top of your code) . . .