Can you print this pattern | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
- 3

Can you print this pattern

Printa patter by getting a string (st='abc') and lenofprint=16, lenofprinrt is no. of char in a line. Print in order 000000000000000a 00000000000000ab 0000000000000abc 000000000000abc0 00000000000abc00 . . . abc0000000000000 bc00000000000000 c000000000000000

29th Apr 2021, 2:14 AM
pavan thatipamula
pavan thatipamula - avatar
1 Answer
0
Hi pavan thatipamula Please try to solve your homework before asking for the solution. We can help you if you have any questions related to the code you wrote as solution to the problem. So, first try by yourself and then come here if you have specific questions.
29th Apr 2021, 12:20 PM
Mark