input:- A 10 20 30 40 B 5 7 10 14 C 8 12 14 16....
output:- A = 100,B=36,C=50.
Here spaces are considered between numbers.
When we give input as above, the numbers should be added n
displayed.So please help me out.
Answer Posted / princeking
lalitha can u just make it clear ...... n can u type the program if its possible.thanks anyways..
and dineshj ur answer is 50% correct n its not fully correct.I want to display the output at once.
| Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers
Write down the divisions of cobol program?
Which is not true about evaluate statement
Define cobol?
What is an in line perform? When would you use it? Anything else you wish to say about it.
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?
how can i see junk values in dclgen or in hostvariable of comp ?
What is comp-1 and comp-2?
how to refer the data field?
how do you reference the variable unblock file formats from cobol programs
What are the different data types in cobol?
What is the difference between a binary search and a sequential search what are the pertinent cobol?
How you can read the file from bottom?
how do you reference the printer file formats from cobol programs
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.
Difference between cobol and cobol-ii?