Question: CASE The company AG Solutions is interested in developing software that allows it to calculate the total sales of the products it sells. It is
CASE The company AG Solutions is interested in developing software that allows it to calculate the total sales of the products it sells. It is also interested in knowing the movement of specific products to be able to redefine its marketing strategies. Likewise, the company seeks to validate the sales movement in some provinces to identify whether it needs to increase its salesforce and thus position itself as the # grocery company in Panama. Below is a table of sales made for evaluation see image attached
Write code in Java language that contains the following:
Create an array that allows storing the ProductID Price and unit
sold.
An iteration statement that allows reading all purchased items.
A conditional sentence that evaluates the sales of the province of Panama
West.
A conditional sentence that evaluates the sales of the province of Herrera.
Make a total for the rest of the provinces.
A conditional sentence that evaluates how many pounds of chicken was purchased.
Validate that the value of the variable Amount is an integer. If the value
of this variable is null or string, use the number instead.
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
