1.find most occurrences of a character.
for exm: input:aaabbbbdddddyyy
output: d 5 times
how can i get that?
Answer Posted / raja
Dstring S 20A Inz ('aaabbbbdddddyyy')
Do 5
String Dsply
Enddo
eval *inlr = '1'
| Is This Answer Correct ? | 0 Yes | 6 No |
Post New Answer View All Answers
Program to read marks of 10 students for 4 subjects and compute and display total marks and status of each student in rpg
can you debug ile rpg program using isdb?
how do I play {insert rpg system here}?
When we have a file with Duplicate records and I want to read the unique record from the file. For example a file containing Emp Name as 'Ram' and there are 3 entries of it. So how to read a unique record from File?
what is the use of sflnxtchg?
are there any useful c runtime apis that I can call from rpg iv?
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
what is an online rpg?
how can I tell when to replace the array?
what happens when sflsiz = sflpag? What are the advantages and disadvantages?
how do I declare a table or array in rpg iv?
How would display prime numbers using CL program?
How to create a login screen using a command instead of display file.... intention is to get a password field on a command..... how do you achieve this...
what was the robotech rpg?
How to select highest score of each subject or how to select highest income of every month?