_____________________________________________________
#include<conio.h>
#include<stdlib.h>
void main()
{
int x,y,z;
cout<<"input tinggi : ";cin>>x;
cout<<"================\n";
for(y=1;y<=x;y++)
{ for(z=y;z<=x;z++)
for(z=1;z<=y;z++)
{cout<<" "<<y;}
cout<<endl;
}
}
_________________________________________________________
Semoga Bermanfaat ;)
kalau di ulang menjadi layang layang yaapa
ReplyDelete