Files Assignment #2 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...

1 answer below »
create an application that will that accept a student’s 2019 Spring schedule thru input


Files Assignment #2 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. Report.txt file 3. Schedule.txt file 4. Be sure to add comments to your program and inline where needed 5. Do not zip the file together
Answered 3 days AfterMay 02, 2021

Answer To: Files Assignment #2 Based on what you took thus far in this chapter, your boss(me) needs you to...

Pulkit answered on May 05 2021
138 Votes
82779/m8profiles-and-exceptions-assignment-details-3-ee2v3fd4.docx
Files Assignment #2
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 ...
SOLUTION.PDF

Answer To This Question Is Available To Download

Related Questions & Answers

More Questions »

Submit New Assignment

Copy and Paste Your Assignment Here