Based on what you took thus far in this chapter, your boss(me) needs you to create an application that will that accept a student’s 2019 Spring schedule thru input.  Name the file XXXM7HW2 where XXX is your last name. You will need to get the student’s course number, course name, days it meets and times it will meet. Once you get this information, you will need to write the information to a text file called schedule.txt and also create a student schedule report called report.txt. You can ask the user what to call the file or just name the files within the program. You will need to create a menu that can be ran more than once. Below is an example of a menu you can use: File Assignments Menu Create Schedule File Create Report File Exit Please enter your choice:   Example of a schedule file ( notice class info is stored as a record containing three fields ( class name, class number, meeting days and meeting time) with each field on a separate line : CIS 115 mw 10-12 CSC 121 tth 01-03 Example above only shows two classes (records), your file will have more entries (5 minimum 10 maximum)   If the user chooses option 2 (Create Report File), program is to read the schedule report and create a report file similar to the example shown below: Example of a report file Student Name 2019 Spring Schedule (center this heading) Class Name       Meting Days   Meeting Times CIS115               MW                10-12 CSC121              TTh                01-03 Design the program to notify the user if no schedule.txt file exists (hint: exception handling) We can get fancier with the report but this should do for now To receive credit for this assignment you will need to submit the following: Program txt file txt file Be sure to add comments to your program and inline where needed Do not zip the file togethe

EBK JAVA PROGRAMMING
9th Edition
ISBN:9781337671385
Author:FARRELL
Publisher:FARRELL
Chapter13: File Input And Output
Section: Chapter Questions
Problem 5PE
icon
Related questions
Question

Based on what you took thus far in this chapter, your boss(me) needs you to create an application that will that accept a student’s 2019 Spring schedule thru input.  Name the file XXXM7HW2 where XXX is your last name. You will need to get the student’s course number, course name, days it meets and times it will meet.

Once you get this information, you will need to write the information to a text file called schedule.txt and also create a student schedule report called report.txt. You can ask the user what to call the file or just name the files within the program. You will need to create a menu that can be ran more than once. Below is an example of a menu you can use:

File Assignments Menu

  1. Create Schedule File
  2. Create Report File
  3. Exit

Please enter your choice:

 

Example of a schedule file ( notice class info is stored as a record containing three fields ( class name, class number, meeting days and meeting time) with each field on a separate line :

CIS

115

mw

10-12

CSC

121

tth

01-03

Example above only shows two classes (records), your file will have more entries (5 minimum 10 maximum)

 

If the user chooses option 2 (Create Report File), program is to read the schedule report and create a report file similar to the example shown below:

Example of a report file

Student Name 2019 Spring Schedule (center this heading)

Class Name       Meting Days   Meeting Times

CIS115               MW                10-12

CSC121              TTh                01-03

Design the program to notify the user if no schedule.txt file exists (hint: exception handling)

We can get fancier with the report but this should do for now

To receive credit for this assignment you will need to submit the following:

  1. Program
  2. txt file
  3. txt file
  4. Be sure to add comments to your program and inline where needed
  5. Do not zip the file together

    Based on what you took thus far in this chapter, your boss(me) needs you to create an application that will that accept a student’s 2019 Spring schedule thru input.  Name the file XXXM7HW2 where XXX is your last name. You will need to get the student’s course number, course name, days it meets and times it will meet.

    Once you get this information, you will need to write the information to a text file called schedule.txt and also create a student schedule report called report.txt. You can ask the user what to call the file or just name the files within the program. You will need to create a menu that can be ran more than once. Below is an example of a menu you can use:

    File Assignments Menu

    1. Create Schedule File
    2. Create Report File
    3. Exit

    Please enter your choice:

     

    Example of a schedule file ( notice class info is stored as a record containing three fields ( class name, class number, meeting days and meeting time) with each field on a separate line :

    CIS

    115

    mw

    10-12

    CSC

    121

    tth

    01-03

    Example above only shows two classes (records), your file will have more entries (5 minimum 10 maximum)

     

    If the user chooses option 2 (Create Report File), program is to read the schedule report and create a report file similar to the example shown below:

    Example of a report file

    Student Name 2019 Spring Schedule (center this heading)

    Class Name       Meting Days   Meeting Times

    CIS115               MW                10-12

    CSC121              TTh                01-03

    Design the program to notify the user if no schedule.txt file exists (hint: exception handling)

    We can get fancier with the report but this should do for now

    To receive credit for this assignment you will need to submit the following:

    1. Program
    2. txt file
    3. txt file
    4. Be sure to add comments to your program and inline where needed
    5. Do not zip the file together
Expert Solution
trending now

Trending now

This is a popular solution!

steps

Step by step

Solved in 4 steps with 5 images

Blurred answer
Knowledge Booster
Running Time of Application
Learn more about
Need a deep-dive on the concept behind this application? Look no further. Learn more about this topic, computer-science and related others by exploring similar questions and additional content below.
Similar questions
  • SEE MORE QUESTIONS
Recommended textbooks for you
EBK JAVA PROGRAMMING
EBK JAVA PROGRAMMING
Computer Science
ISBN:
9781337671385
Author:
FARRELL
Publisher:
CENGAGE LEARNING - CONSIGNMENT
Microsoft Visual C#
Microsoft Visual C#
Computer Science
ISBN:
9781337102100
Author:
Joyce, Farrell.
Publisher:
Cengage Learning,
Programming with Microsoft Visual Basic 2017
Programming with Microsoft Visual Basic 2017
Computer Science
ISBN:
9781337102124
Author:
Diane Zak
Publisher:
Cengage Learning
C++ Programming: From Problem Analysis to Program…
C++ Programming: From Problem Analysis to Program…
Computer Science
ISBN:
9781337102087
Author:
D. S. Malik
Publisher:
Cengage Learning