Question: Write a program that reads and print a joke and it punchline from two different files. The first file contains a joke but not its

Write a program that reads and print a joke and it punchline from two different files. The first file contains a joke but not its punch line .The second file has the punch line as its last line , preceded by garbage text
 Write a program that reads and print a joke and it

% Edit & Create eation PRACTICE write a program to ACCEPT a SALARY field and to calculate and 01 SPLAY Income Tax as20 percent PROGRAM 1: of the SALARY TERACTIVE ROCESSING IDENTIFICATION DIVISION Ad PROGRAM-1D. TAXES DATA DIVISION. WORKING-STORAGE SECTION 01 SALARY 01 INCONE-TAX 01 MORE-DATA PROCEDURE DIVISION. 100-MAIN. PICTURE 999999. PICTURE 99999.99 PICTURE XXX VALUE "YES PERFORM UNTIL MORE-OATA NO DISPLAY "ENTER SALARY AS AN NTEGER FIELD- ACCEPT SALARY MULTIPLY SALARY BY .20 GIVING INCOME-TAX THE NCOME TAX 1S , INCOME TAX DISPLAY IS THERE HORE DATA (YES/NO2)- ACCEPT MORE-DATA END-PERFORM STOP RUN

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!