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 / naba kishore

I am not clear this questions. Please clarify your question.

Is This Answer Correct ?    0 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Explain sorting techniques in cobol program? Provide the sort file definition, the sort statement, its syntax and meaning

680


What is the local-storage section?

681


What is the problem of ordered sequential files access?

694


INREC AND OUTREC? HOW TO SPLIT 5K RECORDS TO DIFFERENT FILES IN A FILE IN COBOL? RESTART IN COBOL-DB2? ISOLATION LEVELS?

417


can you please let me know if there is any walkins for COBOL/PLI/DB2/IMS/JCL in pune other than IBM and ITC infotech

1951






Why is it necessary that file needs to be opened in I-O mode for REWRITE?

747


State the various causes of s0c1, s0c5 and s0c7.

658


i need a small 3d program using inline and outline.

1631


What is the difference between structured cobol programming and object alternativelyiented cobol programming?

704


2 input fles: 2 flat files, with different number of records. both are having unique key for each record and already sorted in ascending order . match these files using unique key and in output only matching key value has to be written. please procide cobol logic

2106


What is rmode(any) ?

683


What is length is cobol?

648


What is the difference between Structured COBOL Programming and Object Oriented COBOL programming?

673


Explain about different table spaces.

646


What is report-item in COBOL?

707