{[ promptMessage ]}

Bookmark it

{[ promptMessage ]}

BAC Lab # 05 - M Shabbir Roll 136 COBOL-LAB#05 Task 1 Take...

Info iconThis preview shows pages 1–2. Sign up to view the full content.

View Full Document Right Arrow Icon
M Shabbir                                                                                                                                      Roll# 136     COBOL-LAB#05 Task - 1 Take input of temperatures for 12 hours and then display a relative message of temperature when a target hour is entered. CODING        identification division.        program-id.        data division.        working-storage section.        77 hmo pic 9(2) value is 1.        77 targethr pic 9(2).        01 temp-rec.         05 temp pic 9(2) occurs 12 times.        procedure division.        para-1.            perform para-2 11 times.        para-2.            display "Enter The Temperature for hour : " hno " :".            accept temp(hno).
Background image of page 1

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full Document Right Arrow Icon
Image of page 2
This is the end of the preview. Sign up to access the rest of the document.

{[ snackBarMessage ]}

Page1 / 3

BAC Lab # 05 - M Shabbir Roll 136 COBOL-LAB#05 Task 1 Take...

This preview shows document pages 1 - 2. Sign up to view the full document.

View Full Document Right Arrow Icon bookmark
Ask a homework question - tutors are online