vendredi 5 décembre 2014

File Handling for students


Vote count:

0





public static void main (String args[]) throws IOException
{
BufferedReader input = new BufferedReader (new FileReader ("data.txt"));
}
}


I am new to file Handling, i don't know how to do anything accept the one where u just do bufferedreader. I know i am just giving you the questions straight up, i don't want u to do them for me i want u to help me with all the parts like explain it to me, if i don't get then u could do the code.


Create a menu-driven Java program which does all of the following: 1. Allow the user to search for student data according to a. Surname and First Name b. Student number If the student exists: display their phone number(s) along with the name If the student does not exist, alert the user to this fact. 2. Ask the user to print the student's timetable - ask for the student number, print a neat chart showing all the course codes and section letter (7 characters) for that student. 3. Create a file which contains the names and student numbers of a. all the students who are enrolled in ICS3U0 b. all the students who are enrolled in a course specified by the user c. all the students who have a birthday today 4. Create functions to answer all of the following: a. How many females are there in Year 3? b. How many males are there in Year 1? c. How many students are potential graduates? (they are in S4 this year) d. How many students are currently enrolled in Civics? (CHV200) 5. Create a procedure which allows the user to add new students to the file.



asked 1 min ago







File Handling for students

Aucun commentaire:

Enregistrer un commentaire