Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

In Java, and there will be no need for ArrayList in this question Attached Files: students.txt (1.271 KB) Assignment #3 requires you to read data

In Java, and there will be no need for ArrayList in this question

image text in transcribedimage text in transcribedimage text in transcribed

Attached Files: students.txt (1.271 KB) Assignment #3 requires you to read data from a text file, perform some calculations on that data, and then output the read and calculated data to the screen. Here are the requirements: Name your source code "Assignment3.java" Have your program output your first and last name . Email me your "Assignment3.java" file as an attachment before class begins on 2/9. I don't need your class file or your "students.txt" file Read in the data from the attached file, "students.txt". Each line in this file contains information about a student: o Last Name e First Name Athlete Flag ("Y" means this student is an athlete, "N" means they are not an athlete) o Grade 1 o Grade 2 e Grade 3 Note: Your program can assume that "students.txt" is in the same directory as your Assignment3.class file. If you are using Eclipse, put the "students.txt" file in the project's folder [not the src folder] Your program needs to calculate the following for each student: Score-the average of Grade 1, Grade 2, and Grade 3. Remember that average is the sum divided by the count of items. In this case it would be (Grade 1+Grade 2+ Grade 3)/3 Letter Grade = a letter grade for the student (use A >= 90, B >= 80, C >= 70, D >= 60, F

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

The Database Experts Guide To SQL

Authors: Frank Lusardi

1st Edition

0070390029, 978-0070390027

More Books

Students also viewed these Databases questions