- 2
Guys please help me
How to print pattern like this H E L L O H E L L H E L H E H
2 Answers
+ 1
are bhaiya hme
******
*****
****
***
**
*
ye nhi chahiye tha
khair maine bna liya whi wala
https://code.sololearn.com/cKRhMTKHg0zk/?ref=app
+ 1
You tagged multiple languages, in which language exactly do you want the answer to be?
Hint:
- Prepare a string => word "H E L L O "
- Save word length => len
* repeat while len != 0
- Print substring of word as many as len character followed by a new line character.
- Subtract len by 2
* end loop