Image generated by TextSpace.net, hosted on ImageShack.us

Minggu, 22 Mei 2011

Cara buat c++ segitiga

#include <iostream.h>
#include <conio.h>
void main ()
{
int i,j;
for (i=1; i <= 5 ;i++)
{
for (j=1; j <= i; j++)
cout <<"*";
cout <<"\n";
}
getch();
}

Tidak ada komentar:

Posting Komentar