cobol prg to print numbers in given format



Support for OS/VS COBOL, VS COBOL II, COBOL for OS/390 & VM and Enterprise COBOL for z/OS

cobol prg to print numbers in given format

Postby rockycbl » Fri Feb 27, 2009 11:09 pm

Hi

I am a beginner in cobol.
Please help me in writing cobol code to print numbers in below format.

1
23
456
78910
1112131415

Hoping a response from you all
rockycbl
 
Posts: 1
Joined: Fri Feb 27, 2009 11:00 pm
Has thanked: 0 time
Been thanked: 0 time

Re: cobol prg to print numbers in given format

 

Re: cobol prg to print numbers in given format

Postby dick scherrer » Sat Feb 28, 2009 1:29 am

Hello and welcome to the forum,

We will help you work on your code. We won't post solutions - when posted by other than the original requestor of a topic, they are deleted.

If you are having problems, you need to explain what the problem is and show the bit of code that you have so far.

What does the input look like - to get to the posted output?
Hope this helps,
d.sch.
User avatar
dick scherrer
Global moderator
 
Posts: 6304
Joined: Sat Jun 09, 2007 8:58 am
Has thanked: 3 times
Been thanked: 91 times


Return to IBM Cobol

 


  • Related topics
    Replies
    Views
    Last post