Question: Write a program that determines how many credits 10 students need to graduate. Step 1. Create an algorithm (either flowchart or pseudocode) that you will

Write a program that determines how many credits 10 students need to graduate. Step 1. Create an algorithm (either flowchart or pseudocode) that you will use to write the program. Place the algorithm in a Word document. Step 2. Code the program in Eclipse and ensure the following steps are accomplished. 1. Define a two-dimension array with 10 rows and 2 columns. 2. Prompt the user to enter the number of courses they have left to graduate (value must be between 1 and 20) and the year they want to graduate 3. The program must store the number of courses and graduation year for each student in a different row of the array. 4. The program must compute the number of credits, and display this output, along with the year the student plans to graduate. Each course is worth 3 credits. Step 3. Test your program using this data. Student 1, 8 courses and plans to graduate in 2018 Student 2, 10 courses and plans to graduate in 2019 Student 3, 15 courses and plans to graduate in 2020 Student 4, 5 courses and plans to graduate in 2019 Student 5, 20 courses and plans to graduate in 2021 Note: enter 22 first time by mistake to test Student 6, 7 courses and plans to graduate in 2019 Student 7, 9 courses and plans to graduate in 2020 Student 8, 3 courses and plans to graduate in 2018 Student 9, 7 courses and plans to graduate in 2018 Student 10, 18 courses and plans to graduate in 2021

Step by Step Solution

3.49 Rating (159 Votes )

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock

Lets tackle the problem by dividing it into steps Step 1 Algorithm Creation Well use pseudocode to o... View full answer

blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Document Format (2 attachments)

PDF file Icon

609a9db3f29b5_30812.pdf

180 KBs PDF File

Word file Icon

609a9db3f29b5_30812.docx

120 KBs Word File

Students Have Also Explored These Related Programming Questions!

Related Book