Waiting for answer This question has not been answered yet. You can hire a professional tutor to get the answer.
College Sticker Price Net Price 2 Discount Rate Amherst College* $40,862 $17,574 57 Harvard University* $38,415 $18,277 52 Hellenic College-Holy...
hi, i need help to with this java program, I wrote the array but for some reason it is not printing, it would help me to understand this program better if someone can help me with this. thank you.
Re-implement the program that tabulates the sticker price, net price and discount rate of colleges. Discount rate is defined as . When tabulating the data, mark the colleges with discount rate in the range of [50%,60%] with *, and colleges with discount rate greater than 60% with **. The output should look like:
IMPLEMENTATION REQUIREMENT
The implementation must use 1-D array of String[] type to store colleges names and a 2-D array of double[][] type to store sticker price and net price. Program must include:
a. void main(String[] args), declares and initializes variables; calls the other 2 methods and computes the averages. Use loop to iterate through the arrays
b. double getDiscountRate(double stickerPrice, double netPrice) to return discount rate
c. void outputInfo(String name, double stickerP , double netP , double discountR) to determine if name needs to be decorated with asterisks to oupur the data