" T H E - 3 - B R O T H E R S "
What are you looking for?? let us find together..
Sunday, November 18, 2012
coding C++ tampilan bintang segitiga siku - siku
#include<stdio.h>
#include<conio.h>
void main()
{
clrscr();
int x,y;
for(x=1;x<=5;x++)
{for(y=1;y<=x;y++)
{printf("* ");}
printf("\n");}
getch();
}
tampilan :
*
**
***
****
*****
No comments:
Post a Comment
Newer Post
Older Post
Home
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment