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

Pseudocode START DECLARE integer arr102 FOR i 0 to 9 OUTPUT Enter classes and graduation year for st... 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

Document Format ( 2 attachments)

PDF file Icon
609af5b715d02_31169.pdf

180 KBs PDF File

Word file Icon
609af5b715d02_31169.docx

120 KBs Word File

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

Database Systems A Practical Approach to Design Implementation and Management

Authors: Thomas Connolly, Carolyn Begg

6th Edition Global

132943263, 978-0132943260

More Books

Students also viewed these Programming questions

Question

Discuss the differences between ADO and ADO.NET.

Answered: 1 week ago