Question: Please complete question 12 Video Trap Thank You Chapter 4: Coding Complete COBOL Programs: The PROCEDURE DIVISION 135 8. Write a program for the Pass-Em
Please complete question 12 Video Trap Thank You

Chapter 4: Coding Complete COBOL Programs: The PROCEDURE DIVISION 135 8. Write a program for the Pass-Em State College bursar to compute for each semester the tuition for each student. If a student is taking 12 credits or less, tuition is $525 per credit. If a student is taking more than 12 credits, the total tuition is $6300. Note: Use the format for arithmetic and conditional operations discussed on pages 120 and 121. Input: Disk File Output: Print File 1-20 Student name 1-20 Student name 21-22 Number of credits 41-42 Number of credits 23-80 Not used 63-66 Tuition 9. Maintenance Program. Modify the Practice Program in this chapter as follows. Instead of creating an output salary disk, print each employee's name and a new salary. Each employ- ee's new salary is calculated by adding $700 to his or her salary in the input master employ- ee disk record. Note: Use the format for arithmetic operations discussed on page 120. 10. Y2K Maintenance Program. Suppose that the Practice Program in Figure 4.5 had been writ- ten years ago with a YEAR field in DATE-OF-HIRE that was only two digits instead of four. Write a program to modify the IN-EMPLOYEE - FILE so that it is Y2K compliant with four-digit year codes. Assume that any two-digit year of 36 or more refers to the twentieth century (19xx) and any two-digit year of 35 or less refers to the twenty-first century (20xx). This will keep the year fields valid for dates between 1936 and 2035. 11. Interactive Program. Redo Assignment 8 assuming that Student Name (20 characters) and Number of Credits (2 characters) are keyed in as input for each student and that the Tuition for the student is displayed as output. 12. Interactive Program. The Video Trap needs an interactive program to input NO. OF TAPES RENTED and to calculate and display the rental fee. Assume that each tape costs $3.00 to rent. 13. Interactive Program. Redo Assignment 12 so that the data entry operator enters a rental code along with the NO. OF TAPES RENTED. If the rental code is "1", then the charge is $3.00 per tape. If the rental code is "2", the charge is $4.00 per tape. Chapter 4: Coding Complete COBOL Programs: The PROCEDURE DIVISION 135 8. Write a program for the Pass-Em State College bursar to compute for each semester the tuition for each student. If a student is taking 12 credits or less, tuition is $525 per credit. If a student is taking more than 12 credits, the total tuition is $6300. Note: Use the format for arithmetic and conditional operations discussed on pages 120 and 121. Input: Disk File Output: Print File 1-20 Student name 1-20 Student name 21-22 Number of credits 41-42 Number of credits 23-80 Not used 63-66 Tuition 9. Maintenance Program. Modify the Practice Program in this chapter as follows. Instead of creating an output salary disk, print each employee's name and a new salary. Each employ- ee's new salary is calculated by adding $700 to his or her salary in the input master employ- ee disk record. Note: Use the format for arithmetic operations discussed on page 120. 10. Y2K Maintenance Program. Suppose that the Practice Program in Figure 4.5 had been writ- ten years ago with a YEAR field in DATE-OF-HIRE that was only two digits instead of four. Write a program to modify the IN-EMPLOYEE - FILE so that it is Y2K compliant with four-digit year codes. Assume that any two-digit year of 36 or more refers to the twentieth century (19xx) and any two-digit year of 35 or less refers to the twenty-first century (20xx). This will keep the year fields valid for dates between 1936 and 2035. 11. Interactive Program. Redo Assignment 8 assuming that Student Name (20 characters) and Number of Credits (2 characters) are keyed in as input for each student and that the Tuition for the student is displayed as output. 12. Interactive Program. The Video Trap needs an interactive program to input NO. OF TAPES RENTED and to calculate and display the rental fee. Assume that each tape costs $3.00 to rent. 13. Interactive Program. Redo Assignment 12 so that the data entry operator enters a rental code along with the NO. OF TAPES RENTED. If the rental code is "1", then the charge is $3.00 per tape. If the rental code is "2", the charge is $4.00 per tape
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
