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
What is the difference between PIC 9.99 and PIC9v99?
Is it possible that the redefines clause has different picture clauses compared to the one it redefined?
What is amode(24), amode(31), rmode(24) and rmode(any) (applicable to only mvsesa enterprise server) ?
What are the various section in data division and briefly explain them.
Can a Search can be done on a table with or without Index?
can anybody post me about file-aid and changemen tools pls and give me reference if any mainframe guys are there
What is redefines clause in COBOL?
How to get the last record in vsam file in cluster? And how can you get the kids file records into your cobol program?
Name the divisions, which are available in a cobol program?
What is the difference between comp and comp-3?
what happens if parmparameter passes zero bytes to the program
What are the pertinent COBOL commands?
I have to write to a outfile where the number of records in that file should be the header of that file using IMS.. can anyone help me in this issue
Name some of the examples of COBOl 11?
What are the different open modes available in cobol?