Monday, 5 January 2015

Contoh script menampilkan segitiga menggunakan c++

#include<iostream.h>

main()
{
int i,j;
for (i = 0; i < 10; i++)
{
for (j = 0; j < i; j++)
{
cout<<("* ");
}
cout<<endl;
}
}

Download script Link1 / Link2

No comments:

Post a Comment