Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

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

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_2

Step: 3

blur-text-image_3

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

Intelligent Databases Technologies And Applications

Authors: Zongmin Ma

1st Edition

1599041219, 978-1599041216

More Books

Students also viewed these Databases questions

Question

LO1 Understand human resource management and define human capital.

Answered: 1 week ago