Question: Java: Write a program that gathers input from the user and writes the information out to a file ( output . txt ) . Your
Java:
Write a program that gathers input from the user and writes the information out to a file outputtxt
Your main method should gather the input, calculate the average, and write the output. You should have a separate method that writes the output to a file. You can have other methods as well if you choose. However, you MUST have at least one other method in addition to the main method.
If you need help with file output, be sure to watch the recording in the readings section above.
Inputs:
Student Name
Course Number
Grades individual grades
Output:
Student Name: student name
Course Number: course number
Grade : grade
Grade : grade
Grade : grade
Grade : grade
Grade : grade
Average: grade average
Example output.txt file:
Student Name: Marty McFly
Course Number: ITC
Grade :
Grade :
Grade :
Grade :
Grade :
Average:
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
