+ 3
[#Just A Random Query]Print like "*" multiple times(equal to screen width=40) on the screen without using loop.
Challenge...But Dont Write" * "40 times(Smart I Know š) Inspired By //Steven De Rooji https://www.quora.com/How-do-I-print-my-name-Shreyash-1000-times-in-Java-without-looping/amp#
14 Answers
+ 3
you didn't say anything about recursions so here
https://code.sololearn.com/chTu1VgnJcFT/?ref=app
+ 5
Congrats Aaron For The Win Offcourse Both Codes Are Awesome But He Came First So...šššššš
+ 5
Ohhh... Sorry @Hinanawi I Was Working At Something And Didnt Paid Attentionšš
Congratsšš
+ 4
Have A Good Day!!
+ 3
Too Good Aaron...But Not What I Want
+ 3
https://code.sololearn.com/cZA6wIlQbgbK/?ref=app
Sorry for my little joke :p
I think this is what you ment
+ 3
What If I Say Recursions Are Not Allowed Too.....(A Mean Smilešš»)
+ 3
True @Hinanawa
+ 3
Thanks for your time guys !!
+ 1
printf("****************************************");
+ 1
ā¢TheChampā¢921 well looking at the time stamps he posted 12 minutes after me, but you have the liberty of marking best answer so i won't complain
+ 1
ā¢TheChampā¢921 one can simply make a method that prints an asterisk and call it 40 times haha
+ 1
Couldn't stop coding ;) Now I tried it the old-fashioned way:
https://code.sololearn.com/c1F43D3Qqb3P/?ref=app
0
Nyimak