Answered step by step
Verified Expert Solution
Question
1 Approved Answer
Java Language please take screenshot from the source Program - IT Courses You have been asked to write a Java console application to track and
Java Language please take screenshot from the source
Program - IT Courses You have been asked to write a Java console application to track and gather statistics for IT courses. The application requirements are as follows: - The IT courses are 2 courses with 6 students per course. - The user will be presented with a set of data entry options for 2 Courses of 6 Students (see console output below) - For courses, gather the courses name - For students, gather the student's name, assignment1 mark, and asssignment2 mark. - Validate the student mark that should be greater than or equal 0.0 and less than or equal 20.0 - After gathering all the data, you will generate 2 reports (See example below): - A Course stats report that displays the following: - Total marks of Assignment1, and total marks of Assignment2 - The Average for both assignments (Total marks of all Assignments divided by 2 ). - Course rating The course rating is calculated using the following formula: - A-If the average of assignment1 and assignment 2 is greater than or equal 100. - B-If the average of assignment1 and assignment 2 is greater than or equal to 70 AND less than 100 - C - If the average of assignment 1 and assignment 2 is greater than or equal 50 AND less than 70 - F - If the average of assignment 1 and assignment 2 is less than 70 - The Stats per student report will contain the course name, their name, the student marks in Asssignment1 and Assignment2 (see below). - Program Organization: Make 3 Java classes: A Course class, A student class and a Main class that launches the application, gathers input and displays output. Course and Student should have appropriate properties for their types. These classes should also have appropriate methods like outputStudentDetails() etc. Examples and Testing In the section below, you will be presented with console output of a successful execution of a sample solution to the program, which should help demonstrate how your input/output on the program should work. In addition to the sample values used in the screenshot(s), there should be validation on all marks inputs. You can expect your instructor to grade your assignment by trying different values than below. In other words, you should thoroughly test your code before submitting! Sample Output - Make sure your program can output data exactly as shown below. Bold Text is for user entry. Programming IT Courses COURSE ENTRY Enter name for course \# 1: Java Programming Enter name for course \# 2: Python Programming Student Entry Enter students for Java Programming: Enter name for student \#1: Randy McDonald Enter Assignment1 mark for Randy David: 12.5 Enter Assignment2 mark for Randy David: 19.5 Enter name for student \#2: REPORT: Stats per Course Java Programming : Assignment1 - 100 Assignment2 - 110 Average - 105 Course Rating: A Python Programming : Assignment1 - 40 Assignment2 - 30 Average - 35 Course Rating: F REPORT: Stats per student Java Programming Ron David: Assignment1 - 18 Assignment2 - 15 Total - 33 Jones Eduard: Assignment1 - 10 Assignment2 - 13 Total - 23 Jacob Sears: Assignment1 - 15 Assignment2 - 15 Total - 30 Mike Jackson: Assignment1 - 20 Assignment2 - 15 Total - 35 Sally Roberts: Assignment1 - 11 Assignment2 - 15 Total - 26 Vahid Tom: Assignment1 - 18.5 Assignment2 - 12.5 Total - 31 Python Programming Sally John: Assignment1 - 15 Assignment2 - 18.5 Total - 33.5 Smith Joe: Assignment1 - 16 Assignment2 - 16 Total - 32 Joe Kirby: Assignment1 - Assignment2 - A Total - 16 Riley Scott: Assignment1 - 19 Assignment2 - 17 Total - 36 Robert Don: Assignment1 - 12.5 Assignment2 - 12.5 Total - 25 Sheila McDonald: Assignment1 - 20 Assignment2 - 20 Total - 40
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started