[#Just A Random Query]Print like "*" multiple times(equal to screen width=40) on the screen without using loop. | Sololearn: Learn to code for FREE!
Новый курс! Каждый программист должен знать генеративный ИИ!
Попробуйте бесплатный урок
+ 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#

11th Apr 2018, 5:24 PM
™TheChamp921
™TheChamp921 - avatar
14 ответов
+ 3
you didn't say anything about recursions so here https://code.sololearn.com/chTu1VgnJcFT/?ref=app
11th Apr 2018, 6:05 PM
hinanawi
hinanawi - avatar
+ 5
Congrats Aaron For The Win Offcourse Both Codes Are Awesome But He Came First So...😐😐👏👏👏😀
11th Apr 2018, 6:58 PM
™TheChamp921
™TheChamp921 - avatar
+ 5
Ohhh... Sorry @Hinanawi I Was Working At Something And Didnt Paid Attention😝😝 Congrats👏👏
11th Apr 2018, 7:04 PM
™TheChamp921
™TheChamp921 - avatar
+ 4
Have A Good Day!!
11th Apr 2018, 7:16 PM
™TheChamp921
™TheChamp921 - avatar
+ 3
Too Good Aaron...But Not What I Want
11th Apr 2018, 5:56 PM
™TheChamp921
™TheChamp921 - avatar
+ 3
https://code.sololearn.com/cZA6wIlQbgbK/?ref=app Sorry for my little joke :p I think this is what you ment
11th Apr 2018, 6:17 PM
Aaron Eberhardt
Aaron Eberhardt - avatar
+ 3
What If I Say Recursions Are Not Allowed Too.....(A Mean Smile😁👻)
11th Apr 2018, 6:59 PM
™TheChamp921
™TheChamp921 - avatar
+ 3
True @Hinanawa
11th Apr 2018, 7:13 PM
™TheChamp921
™TheChamp921 - avatar
+ 3
Thanks for your time guys !!
11th Apr 2018, 7:15 PM
™TheChamp921
™TheChamp921 - avatar
+ 1
printf("****************************************");
11th Apr 2018, 5:38 PM
Aaron Eberhardt
Aaron Eberhardt - avatar
+ 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
11th Apr 2018, 6:59 PM
hinanawi
hinanawi - avatar
+ 1
™TheChamp•921 one can simply make a method that prints an asterisk and call it 40 times haha
11th Apr 2018, 7:00 PM
hinanawi
hinanawi - avatar
+ 1
Couldn't stop coding ;) Now I tried it the old-fashioned way: https://code.sololearn.com/c1F43D3Qqb3P/?ref=app
11th Apr 2018, 7:20 PM
Aaron Eberhardt
Aaron Eberhardt - avatar
0
Nyimak
6th Aug 2019, 3:40 AM
Luthfi Lailufar.H
Luthfi Lailufar.H - avatar