Answered step by step
Verified Expert Solution
Question
1 Approved Answer
Perform the following to prepare your PERSONAL project report: Execute your program as teacher and take a screenshot of your output screen. Name it as
Perform the following to prepare your PERSONAL project report: Execute your program as teacher and take a screenshot of your output screen. Name it as "teacher.jpeg" Execute your program as student and take a screenshot of your output screen. Name it as "student.jpeg" Create a word file to explain all functions in detail. Name it as "functions.docx" Create a folder that contains your source files, header files, word file, screenshots, teacher office hour files and appointment file, and name it as "YourStudentNumber". Compress the folder by using winRAR YourStudentNumberrar" Store the compressed folder YourStudentNumberrar" in the "Project" folder, located at the course web site under the tab CSE Programming II Assignments CSE PROGRAMMING II PROJECT SPRING Program : Office Hour Appointment System Definition : The program tracks the appointment of office hours. The program must contain predefined macros to print file information. The program has two users: teacher and student. Prompt to the user to enter for teacher and for student. If the user is a "teacher", the program prompts the teacher to enter full name for file name and an operation code, then calls a function to perform the requested action. The codes i insertofficehour uupdateofficehour porintofficehour and q quit will be used to represent these operations. Repeats until the teacher enters the command q Prints an error message if the teacher enters an illegal code. If the user is a "student", the program prompts the student to enter hisher full name and the teacher's full name. Then, the program loads the office hours of the teacher from the teacher's office hour file and lists the office hours of the teacher by calling printofficehour function. The program prompts the student to enter a desired identification number and update the "appointment" file until the student enters the command q The program will be split into at least four source files: teacher.c : functions related to teacher user. student.c : functions related to student user. readLine.c : functions related to the line. appointment.c : contains the main function The program will also need header files. The teacher.c file will contain the definition for functions that perform the following operations:Enter your fullname: Teacher XEnter operation code: pID numberDayStartEndMondaypmpmWednesdayamam CSE PROGRAMMING II PROJECT SPRING The student.c file will contain the definition for the functions that perform the following operation:TeacherStudentDayStartEndTeacher XStudent XWednesdayamamTeacher XStudent YMondaypmpmTeacher YStudent XTuesdaypmpm The readLine. c file will contain the definition for a function that reads line readlineEnter teacher's full name: q
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started