Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

* Complete the COBOL program to produce a cover sheet * with the following information: * Student Name * Course and section * Assignment number

* Complete the COBOL program to produce a cover sheet * with the following information: * Student Name * Course and section * Assignment number * Due Date 1/24/18 * Grade ___________ * * The above information must be centered on the paper. * Hand in the cover sheet and the completed Cobol porgram * identification division. program-id. cover. environment division.

configuration section. source-computer. ibm-pc. object-computer. ibm-pc.

input-output section. file-control. select file-out assign to printer, "h:out1.txt".

data division. file section. fd file-out label records are omitted. 01 record-out pic x(80).

working-storage section. 01 line1-out. 05 filler pic x(30) value spaces. 05 filler pic x(15) value 'John Q. Student'. 05 filler pic x(35) value spaces. 01 line2-out. 05 filler pic x(30) value spaces. 05 filler pic x(14) value 'csc-170 sec 01'. 05 filler pic x(36) value spaces.

* additional working storage to complete the cover sheet

procedure division. 100-main-module. open output file-out.

move spaces to record-out.

perform 15 times write record-out end-perform.

write record-out from line1-out after advancing 2 lines. write record-out from line2-out after advancing 2 lines.

* additional write statement to complete the cover sheet

close file-out. stop run.

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Students also viewed these Databases questions

Question

Explain how economies of scale can be a barrier to entry.

Answered: 1 week ago

Question

2. What are your challenges in the creative process?

Answered: 1 week ago