0
Loops
This is the output R RO ROC ROCE ROCEL ROCELL ROCELLE What is the code for this output i dont have any idea
16 Answers
+ 4
Try to use a for loop inside another for loop
https://code.sololearn.com/cYdsK4yCP2rn/?ref=app
+ 3
Bacani Rocelle M.
Why not to ask directly from your professor about these basic things.?
+ 2
Bacani Rocelle M.
Why is there any problem?
Then why there is professor?
Professors are for clearing every doubts so just ask.
+ 1
Bacani Rocelle M.
Doesn't matter they can help you just ask.
+ 1
This would be a possible solution, I have explained some concepts insaid the code.
https://code.sololearn.com/cZQIEaFwwE7b/?ref=app
0
Abate Mon'y we need to use loops we dont need constant to code because our prof didn't teach us constant
0
Then you remove the constant
0
It is okay?
0
just use .
int L=str.length()
0
Can you do only for loops? Cause i cant understand some of your code
0
Thank you but idk how it works like the length one or our prof didn't discuss it to us sorry i cant understand how you do it
0
A͢J sorry but i cant ask mg prof
0
A͢J im doing some advance learning
0
A͢J okay then can you help me
0
sir mujhe bhi sikha sakte ho