Question: Write a java program using this information anf make sure to use methods Using methods, you will generate the report below. table [ [

Write a java program using this information anf make sure to use methods
Using methods, you will generate the report below.
\table[[,Lowes,Amazon,Walmart,Target,Average],[JAN,999.99,999.99,999.99,999.99,999.99],[FEB,999.99,999.99,999.99,999.99,999.99],[MAR,999.99,999.99,999.99,999.99,999.99],[APR,999.99,999.99,999.99,999.99,999.99],[MAY,999.99,999.99,999.99,999.99,999.99],[JUN,999.99,999.99,999.99,999.99,999.99],[JUL,999.99,999.99,999.99,999.99,999.99],[AUG,999.99,999.99,999.99,999.99,999.99],[SEP,999.99,999.99,999.99,999.99,999.99],[OCT,999.99,999.99,999.99,999.99,999.99],[NOV,999.99,999.99,999.99,999.99,999.99],[DEC,999.99,999.99,999.99,999.99,999.99],[,,,,,],[AVG,999.99,999.99,999.99,999.99,]]
Use a random number generator to fill in the price of the stocks as follows. If you have issue using the generating the prices, then simply assign a value to each price.
\table[[Lowes,Price between 101.00 and 114.00],[Amazon,Price between 62.00 and 75.00],[Walmart,Price between 235.00 and 244.00],[Target,Price between 89.00 and 97.00]]
I expect to see a method to generate the prices, the Averages, the header, the detail lines.
To make this program work you will need to keep accumulators for each month as well as each company.
 Write a java program using this information anf make sure to

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!