<ask> program buat bintang shell

Pertanyaan umum seputar distribusi Ubuntu yang menjadi distro wajib members ubuntu-indonesia.com
User avatar
uchil
Posts: 7
Joined: 16 Apr 2013, 17:57
Location: surabaya , indonesia

<ask> program buat bintang shell

Postby uchil » 19 Apr 2013, 11:31

input =5
*
**
***
****
*****

pkek for gimana? :confused: :(
User avatar
belthsazar
Posts: 1300
Joined: 02 Jul 2011, 04:38
Location: Surabaya, Indonesia

Re: <ask> program buat bintang shell

Postby belthsazar » 19 Apr 2013, 14:37

google
User avatar
sta
Posts: 2003
Joined: 27 Apr 2010, 09:49
Contact:

Re: <ask> program buat bintang shell

Postby sta » 19 Apr 2013, 15:29

for ($i=1; $i<=5; $i++)
{
for ($b=1; $b <=$i; $b++)
{
echo "*";
}
echo "
";
}
User avatar
uchil
Posts: 7
Joined: 16 Apr 2013, 17:57
Location: surabaya , indonesia

Re: <ask> program buat bintang shell

Postby uchil » 21 Apr 2013, 21:45

klo di python gan :(

Return to “Pertanyaan Umum”

Who is online

Users browsing this forum: No registered users and 4 guests