Academic Integrity: tutoring, explanations, and feedback — we don’t complete graded work or submit on a student’s behalf.

Can you help me to write this Java code? Based on the input, the program will ca

ID: 654723 • Letter: C

Question

Can you help me to write this Java code?

Based on the input, the program will calculate the total cash donated for all 6 sites and the total pounds of food collected for all 6 sites. It will determine the highest cash donation, the highest pounds of food donated, and the name of each corresponding site location.

The program should then display a report of each individual site name with cash and food donations, the total cash and total food donated, the highest cash donation with the corresponding site location name, and the highest food donation with the corresponding site location name.

Calculations: The following calculations must happen in order to meet the system requirements:

In order to calculate the total cash donation and total food donation, use accumulation.

In order to determine the max cash donation and max food donation, use an if statement within a for loop.

Holiday Donation Drive ~ Write a program that will allow an administrator of the annual Holiday Giving Drive to enter site names, cash donations, and food pound donations for the 6 sites around the city. The program will calculate total cash, total pounds of food, determine the best site with the highest cash and food donations. The program will display each site donations, the totals for all sites, and the sites with the best results. The program should include the following techniques from various chapters: Must use arrays Must include methods Must include range checking error code for any input of a number Must include a loop to run the program multiple times Must include loops and decision statements throughout the program

Explanation / Answer

Please send the fully visible scanned document as it is having proble in last 3 or 4 words of every line.thos wordsare not visible.