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 / lalitha
Use Delimiter option in STRING function - COBOL to unstring
the numbers to variables and then sum it up.
Is This Answer Correct ? | 2 Yes | 0 No |
Post New Answer View All Answers
Explain how will you differentiate between an internal and an external sort, the pros and cons, internal sort syntax etc
What are the different types of condition in cobol and write their forms.
i made it to stage 3 of an interview process wednessday they will quiz my knowledge again face to face for an analyst role recruiter said it will be based on Business requirements system is cobol and good ideas what they might ask etc
How do u write test cases?
Write some characteristics of cobol as means of business language.
How you can characterize tables in cobol?
how do you reference the fixed unblock file formats from cobol programs
System Testing for Mainframe Developers What is System Testing? integration testing ? what's the procedure ..
Why would you use find and get rather than to obtain?
What is cobol?
When is inspect verb is used in cobol?
explain sorting techniques in cobol program?
If you are current on the owner of a set, what is the difference between obtain next and obtain first?
How to traceback if I am getting SOC7 or SOC4 abend? List down the steps
what is the use of outrecord?