Quote (m0hawk @ Apr 29 2013 11:43am)
Code
System.out.println("Holiday Donation Locations Report\n---------------------------------\n");
for(int i = 0; i < NUMBEROFSITES; i++) {
System.out.println("Site: " + siteName[i]);
System.out.println("Individual Cash Donations $" + cashDonations[i];
System.out.println("Individual Food Donations " + lbsFoos[i] + " lbs");
System.out.println();
}
as others said, you should rather use a class, if this is an assignment it is really silly... + using global variables is not recommended
yes, unfourtionatlly it is an assignment :/
i dont know how i am supposed to display it like that..