Comp152 Project 1
Moving to Java - and a review of comp151
Due: Thursday Feb 6th 2020 by 11:59pm
Summary:
I'm going to have you all do a project I sometimes give to mid semester
comp 151 students to give you a chance to put all of the java that we've
looked at the in last week or so and practice the sorts of things you did
in comp151 in this new language.
Details:
- Make a new project in intellij. Make sure that your name is part of
the project name. (I have 40+ students turning in projects so I can't
have a bunch of projects named "project1"), For example my project might
be jsantoreProject1
- Create a new class with a main method in it which will have your
program in it.
- Write a program that
- asks the user for the name of a student
- opens a text file with the name of the student followed by .txt
- eg: I type in jsantore in response to your query, so your program
needs to open jsantore.txt
- reads in a series of grades from the text file
- add all the grades and divide by the total number of grades to get
the grade average.
- reports the name of the student and the grade average to the screen.
- Add your project to git and you do your work, make sure to share it privately on github.
Submission:
To submit this semester,
add me as a collaborator following the directions in the linked file.