Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

USING BASIC ARRAYS AND ARRAY FUNCTIONS IN JAVA Ask user for how many courses they are taking. 2.) Create 3 arrays: a. 1 to hold

USING BASIC ARRAYS AND ARRAY FUNCTIONS IN JAVA

Ask user for how many courses they are taking.

2.) Create 3 arrays:

a. 1 to hold course name

b. 1 to hold number of credits for the course

c. 1 to hold course grade (2.67)

3.) Write a loop to read in all the information for each course

4.) Calculate the GPA

When you have completed this, change the program to have a main method and 3 other methods (1 for each steps 1,3 and 4)

class credits grade quality points
csc190 4 3.33 13.32
Eng 103 3 2.67 8.01
Mat 271 4 4.00 16.00

PE 211 1 4.00 4.00
PHY 5 2.33 11.65

Total Credits

TOTAL GPA
17

52.98

3.12

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

1 2 3 Data Base Techniques

Authors: Dick Andersen

1st Edition

0880223464, 978-0880223461

More Books

Students also viewed these Databases questions

Question

LO2 Explain the nature of the psychological contract.

Answered: 1 week ago