Logo 
Search:

Cobol Articles

Submit Article
Home » Articles » Cobol » Homework HelpRSS Feeds

PROGRAM OF PERFORM VERBS

Posted By: Raymundo Fischer     Category: Cobol     Views: 5045

WRITE A PROGRAM OF PERFORM VERBS.

Code for PROGRAM OF PERFORM VERBS in Cobol

       IDENTIFICATION DIVISION.
        PROGRAM-ID. PRO.

       DATA DIVISION.
        77 A PIC 99.
        77 I PIC 9 VALUE 1.

       PROCEDURE DIVISION.
        DISPLAY "ENTER THE VALUE OF A".
        ACCEPT A.

        PERFORM VARYING I FROM 0 BY 1 UNTIL I EQUAL TO  A
         DISPLAY "KETAN"
        END-PERFORM.

       STOP RUN.
  
Share: 


Didn't find what you were looking for? Find more on PROGRAM OF PERFORM VERBS Or get search suggestion and latest updates.

Raymundo Fischer
Raymundo Fischer author of PROGRAM OF PERFORM VERBS is from Frankfurt, Germany.
 
View All Articles

 
Please enter your Comment

  • Comment should be atleast 30 Characters.
  • Please put code inside [Code] your code [/Code].

 
No Comment Found, Be the First to post comment!