1.find most occurrences of a character.
for exm: input:aaabbbbdddddyyy
output: d 5 times
how can i get that?
Answer Posted / shravan
dds s 15a
inz('aaabbbbdddddyyy')
dds1 s 10a
C 5 subst ds:8 ds1
C dsply ds1
c seton
lr
| Is This Answer Correct ? | 1 Yes | 5 No |
Post New Answer View All Answers
what is file information data structure?
how do I preserve and clean the array?
How do u design a physical file, when you have 2 Unique fields like for eg in A student file student ID and student examination no both are unique
How many program bind in one module....
what is the rpg system?
which program rpg or cl is efficent to update a transaction onto a database file and why ?
how can I tell when to replace the array?
Suppose we have one database file and it is used by 5 programs and in 3 program we have to add some records in datbase file s what is the impact on other program?
Assume 2 users are using the same file and first user updates some record in the file. Will the 2nd user will be able to see the updated record or not?
give an eg of ACQ-(ACQUIRE),BIT OFF,BIT ON,DEALLOC,DUMP,FEOD,FORCE,MHHZO,MHLZO,MHLLZO,MLHZO,REL,RESET,TESTZ,TESTB,TESTN----GIVE SMALL EXAMPLE TO THE OPCODES...TO UNDERSTAND FUNCTIONING...........
What is the purpose of record level identifier?
How would display prime numbers using CL program?
can I touch the array during treatments?
How Chain operation copies the record's data to the input buffer for the program?
What is a record lock error?