I want output in this format : a /n *b /n **c /n ***d /n **e /n *f /n g /n *h .... here the /n = new line | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
- 1

I want output in this format : a /n *b /n **c /n ***d /n **e /n *f /n g /n *h .... here the /n = new line

5th Jan 2019, 4:15 AM
Nikash
3 Answers
+ 12
Hy Nikash Might you have problem in printing the pattern of stars ? ● U can make use of %(3+1) to form this series : 0,1,2,1,0,1,2 & so on👍 //using (3+1) instead of 3 , correction by Louis
5th Jan 2019, 1:56 PM
Gaurav Agrawal
Gaurav Agrawal - avatar
+ 2
Please show your attempt first. Are you sure you need this for four different programming languages? 🤔
5th Jan 2019, 7:03 AM
Anna
Anna - avatar
0
any 1 language Anna
5th Jan 2019, 7:05 AM
Nikash