1.find most occurrences of a character.
for exm: input:aaabbbbdddddyyy
output: d 5 times
how can i get that?
Answer Posted / ambikapathy velu
CHECK opcode will returns no of repeated char in a string
| Is This Answer Correct ? | 0 Yes | 4 No |
Post New Answer View All Answers
How to declare the pull button in AS/400..
When it is desirable to describe files Internally?
during execution, an rpg/400 program automatically follows a sequence of operations for each record that is processed. The built-in program cycle includes the following logical steps.
can I touch the array during treatments?
What is the purpose of record level identifier?
explain sflclr, sflend, sfldlt, and sflcsrrrn?
write an RPG program to calculate the marks of 5 students (A,B, C, D, E)in 3 different subjects (eng, math, sci) an display on the screen
How to call one program from another program in RPG? please help me with the code
How can we override a file during runtime in rpg?
what is a rpg?
What is file identifier where we can use?
do you use message subfiles? What are the necessary keywords required coding a message subfile?
How to define data area in RPG program? In which scenario multi occurrence DS is use in AS400?
How would display prime numbers using CL program?
what is the rpg system?