- 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

21st Aug 2018, 8:32 AM
Atul Mishra
Atul Mishra - avatar
2 Answers
+ 1
are bhaiya hme ****** ***** **** *** ** * ye nhi chahiye tha khair maine bna liya whi wala https://code.sololearn.com/cKRhMTKHg0zk/?ref=app
21st Aug 2018, 9:11 AM
Atul Mishra
Atul Mishra - avatar
+ 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
21st Aug 2018, 9:17 AM
Ipang