i need the code for this program in cobol.
2 + 1 = 3
4+3=7
6+5=11
8+7=15
10+9=19
Answer Posted / aj
do a loop on below equation . Varying n from 1 to required
value
(2n) + (2n-1)
| Is This Answer Correct ? | 11 Yes | 2 No |
Post New Answer View All Answers
Write a program that uses move corresponding.
How do you code cobol to access a parameter that has been defined in jcl? And do you code the parm parameter on the exec line in jcl?
Whats the difference between search & search ALL?
How do you differentiate between cobol and cobol-ii?
How many bytes S(8) comp field occupy and its maximum value?
how do you reference the ksds vsam file formats from cobol programs
How you can read the file from bottom?
Why did you choose to work with ibm mainframe cobol programming?
Can we change the password using ALTER? anyone tried and changed?
What is rmode(any) ?
HOw can I get the negative sign while deduct high value from low value
How many sections are there in data division in COBOL?
What is perform what is varying?
Program A (Normal COBBAT) calling a B Program (DB2COBOL, COBBATDB which is using a VSAM file. its a dynamic call. How we will handle VSAM file decleration in our from JCL from where we are running A PGM. And should we have PLAN for A pGM also. if possible can some one post a sample JCL. Thanks for help in advance.
what happens if parmparameter passes zero bytes to the program