Question: You need to write a java program, create a main method, and implement the following: Create an array of String type named letterGrades to

You need to write a java program, create a main method, and implement the following: Create an array of String type named letterGrades to store 5 course letter grades, each grade is a String type value such as A, A+, A-, B, B+, B-, C, C+, C, D, D+, D-, F. Create a second array of int type named credits to store 5 course credits, each credit is an integer value between 1 and 5. (5 points) Ask the user to enter 5 lines of inputs, each line containing an integer value for course credits and a String for letter grade, and store them in the arrays defined in the previous steps. The user inputs are like the following: 2 B 3 A+ 1 C 4 8+ 3 D (5 points) Create a third array of double type named scale4Grades and initialize it with values mapped from the array letterGrades using the following table: Grade A+ 4.0 Scale 4.0 4.0 A- 3.7 B+
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
