0

printing range on repeat certain amount of times

how to print this: 5 4 3 2 1 5 4 3 2 1 5 4 3 2 1 what i meant is printing range in certain amount of times thank you for answer

13th Oct 2022, 10:21 PM
Srki
Srki - avatar
7 Réponses
+ 3
Asking solution only without trying yo attempt is not good for learning and giving only solution will not help in learning.. So may be he/she thought that same..
14th Oct 2022, 8:45 AM
Jayakrishna 🇮🇳
+ 2
"Last one "? What are you tried so far? Share your try... It's repeating 3 times (by a loop) printing 5 to 1 (again you can use a loop), each printing on a separate line.
14th Oct 2022, 7:45 AM
Jayakrishna 🇮🇳
+ 2
Nice to hear that. You're welcome.. In case if you have any doubt then further, then ask with sharing your try. so you may get better accurate and quick answers. Happy learning..
14th Oct 2022, 8:55 AM
Jayakrishna 🇮🇳
+ 1
That may be the case yes but anyway it helped me so now all good. Tnx for your help
14th Oct 2022, 8:46 AM
Srki
Srki - avatar
0
Thank you
13th Oct 2022, 10:54 PM
Srki
Srki - avatar
0
Can you please explain this last one little bit more?
13th Oct 2022, 11:02 PM
Srki
Srki - avatar
0
Someone answered my question already, and than deleted the comment, don't know why
14th Oct 2022, 8:31 AM
Srki
Srki - avatar