11 November 2009

SOFTWARE PROGRAMMING


My Homework Using Turbo C++


#include

void main ()
{
int i,j;

for (i=1; i<=5;i++)
{
for (j=5;j>=i;j--)
{
printf("*");
}
printf("\n");
}
}

(It's looping)
The result:

*****
****
***
**
*



This code only have a result like this? Huh

2 Comment:

Adlina Haezah mengatakan...
Komentar ini telah dihapus oleh pengarang.
Adlina Haezah mengatakan...

heiii ... kmuh belajar C++ ya ??
hehe

MANGA-LOVERZ

Cari Blog Ini


Blogspot Templates by Isnaini Dot Com and Wedding Bands. Powered by Blogger