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


Please Help Members By Posting Answers For Below Questions

what is difference between cobol and cobol/400

21575


State the various causes of s0c1, s0c5 and s0c7.

665


Can we redefine the field of x(200) to less than 200?

825


EXPLAIN MAIN FRAME TESTING PROCESS...HOW TO FIX THE MAINFRAME BUGS?

2060


1.Is it possible to move the data from 99.99 to 99v99? 2.What is the CICS-vsam Compilation process? 3.In My GDG 5 generation will be there GDG3 got an abend what will happen? 4.In my GDG first generation is +1 And I want to add the new generation what will happen previous generation? 5.How can you give the PIC clause below conditions A). s9 (reddy), B). s9 (5) occurs 5 times? 6.How override the proc from a particular step? and what is symbolic and override Procs?

5379






what is s000 u4087 error? please give the all error codes in cobol,jcl.

17062


How to know whether the module is dynamical or statistical?

660


can anybody post me about file-aid and changemen tools pls and give me reference if any mainframe guys are there

1846


What is the difference between comp and comp-3 usage?

681


Can a Search can be done on a table with or without Index?

808


How many sections are there in data division in COBOL?

682


Is it possible that the redefines clause has different picture clauses compared to the one it redefined?

678


In which area will you utilize 88 level items in cobol?

724


Write a program to explain size error.

679


What is comp-1 and comp-2?

766