Java Question:
Write a program that will prompt the user to enter GPA valuesone per line, stopping when the user enters a negative value. Printthe following on separate lines:
• The number of vaild GPAs entered.
• The sum of the GPAs
• The average GPA
Expert Answer
An answer will be send to you shortly. . . . .