cara jitu
Monday, November 26, 2012
Segitiga Siku" Dengan array & input user
#include<iostream.h>
#include<conio.h>
void main()
{
int a,b,c;
a=0;
cout<<"Masukkan Input: ";
cin>>c;
while(a<c)
{
b=0;
while(b<=a)
{
cout<<"*";
b++;
}
a++;
cout<<endl;
}
}
No comments:
Post a Comment
Newer Post
Older Post
Home
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment